2020-11-06 00:33:48 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
2021-07-21 07:28:18 +00:00
|
|
|
pname = "nar-serve";
|
2022-06-26 10:26:21 +00:00
|
|
|
version = "0.6.1";
|
2020-11-06 00:33:48 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numtide";
|
|
|
|
repo = "nar-serve";
|
|
|
|
rev = "v${version}";
|
2022-06-26 10:26:21 +00:00
|
|
|
hash = "sha256-cSOYHYJJEGzFtkD4mjTmYBiM9CaWKt64xgV/JeNHpfM=";
|
2020-11-06 00:33:48 +00:00
|
|
|
};
|
|
|
|
|
2022-06-26 10:26:21 +00:00
|
|
|
vendorSha256 = "sha256-RpjLs4+9abbbysYAlPDUXBLe1cz4Lp+QmR1yv+LpYwQ=";
|
2020-11-06 00:33:48 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-06 00:33:48 +00:00
|
|
|
description = "Serve NAR file contents via HTTP";
|
|
|
|
homepage = "https://github.com/numtide/nar-serve";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ rizary ];
|
|
|
|
};
|
|
|
|
}
|