2020-11-06 17:59:51 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
2021-07-16 13:31:23 +01:00
|
|
|
pname = "nar-serve";
|
|
|
|
version = "0.4.0";
|
2020-11-06 17:59:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numtide";
|
|
|
|
repo = "nar-serve";
|
|
|
|
rev = "v${version}";
|
2021-07-16 13:31:23 +01:00
|
|
|
hash = "sha256-h/pzKRXgcGTpr1YUKppDa+iTLKak/PGhbYa8ZczWj1U=";
|
2020-11-06 17:59:51 +00:00
|
|
|
};
|
|
|
|
|
2021-07-16 13:31:23 +01:00
|
|
|
vendorSha256 = "sha256-eW+cul/5qJocpKV/6azxj7HTmkezDw6dNubPtAOP5HU=";
|
2020-11-06 17:59:51 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-11-06 17:59:51 +00:00
|
|
|
description = "Serve NAR file contents via HTTP";
|
|
|
|
homepage = "https://github.com/numtide/nar-serve";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ rizary ];
|
|
|
|
};
|
|
|
|
}
|