Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / he / hermitcli / package.nix
blob05a287a5db3dc8792a7caa9cfa5e1bf28e692f52
1 { buildGoModule
2 , fetchFromGitHub
3 , lib
4 }:
6 buildGoModule rec {
7   pname = "hermit";
8   version = "0.39.3";
10   src = fetchFromGitHub {
11     rev = "v${version}";
12     owner = "cashapp";
13     repo = "hermit";
14     hash = "sha256-Cp96OOAEwBz83Fsex7DeI5LSp1gBhP8VP0I6bJAZC4U=";
15   };
17   vendorHash = "sha256-vEv/sciynvxQE7KpxqpaSO1p5R3xYBK6o4EeuJ2JYmg=";
19   subPackages = [ "cmd/hermit" ];
21   ldflags = [
22     "-X main.version=${version}"
23     "-X main.channel=stable"
24   ];
26   meta = with lib; {
27     homepage = "https://cashapp.github.io/hermit";
28     description = "Manages isolated, self-bootstrapping sets of tools in software projects";
29     license = licenses.asl20;
30     maintainers = with maintainers; [ cbrewster ];
31     platforms = platforms.unix;
32     mainProgram = "hermit";
33   };