mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
Merge pull request #287322 from cbrewster/init-hermitcli
hermitcli: init at 0.28.2
This commit is contained in:
commit
bfaf0a1feb
34
pkgs/by-name/he/hermitcli/package.nix
Normal file
34
pkgs/by-name/he/hermitcli/package.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user