mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
27 lines
584 B
Nix
27 lines
584 B
Nix
{ buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "nar-serve";
|
|
version = "0.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "numtide";
|
|
repo = "nar-serve";
|
|
rev = "v${version}";
|
|
hash = "sha256-cSOYHYJJEGzFtkD4mjTmYBiM9CaWKt64xgV/JeNHpfM=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-RpjLs4+9abbbysYAlPDUXBLe1cz4Lp+QmR1yv+LpYwQ=";
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Serve NAR file contents via HTTP";
|
|
homepage = "https://github.com/numtide/nar-serve";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ rizary ];
|
|
};
|
|
}
|