Merge pull request #287322 from cbrewster/init-hermitcli

hermitcli: init at 0.28.2
This commit is contained in:
Ryan Mulligan 2024-03-15 16:06:43 -07:00 committed by GitHub
commit bfaf0a1feb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,34 @@
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "hermit";
version = "0.38.2";
src = fetchFromGitHub {
rev = "v${version}";
owner = "cashapp";
repo = "hermit";
hash = "sha256-cBVTIpY85lrKJ1bX1mIlUW1oWEHgg8wjdUh+0FHUp80=";
};
vendorHash = "sha256-W8n7WA1gHx73jHF69apoKnDCIKlbWkj5f1wVITt7F+M=";
subPackages = [ "cmd/hermit" ];
ldflags = [
"-X main.version=${version}"
"-X main.channel=stable"
];
meta = with lib; {
homepage = "https://cashapp.github.io/hermit";
description = "Manages isolated, self-bootstrapping sets of tools in software projects.";
license = licenses.asl20;
maintainers = with maintainers; [ cbrewster ];
platforms = platforms.unix;
mainProgram = "hermit";
};
}