Skip to content

Commit

Permalink
Merge pull request #287322 from cbrewster/init-hermitcli
Browse files Browse the repository at this point in the history
hermitcli: init at 0.28.2
  • Loading branch information
ryantm authored Mar 15, 2024
2 parents 69fff9c + b877cf7 commit bfaf0a1
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pkgs/by-name/he/hermitcli/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

0 comments on commit bfaf0a1

Please sign in to comment.