nixpkgs/pkgs/tools/nix/nar-serve/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
582 B
Nix
Raw Normal View History

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
2021-07-16 12:31:23 +00:00
pname = "nar-serve";
2022-06-24 08:50:56 +00:00
version = "0.6.1";
src = fetchFromGitHub {
owner = "numtide";
repo = "nar-serve";
rev = "v${version}";
2022-06-24 08:50:56 +00:00
hash = "sha256-cSOYHYJJEGzFtkD4mjTmYBiM9CaWKt64xgV/JeNHpfM=";
};
vendorHash = "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 ];
};
}