blob: 80fba6b65b6ba83759ba297537635e666d86cc57 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
buildGoModule,
fetchFromGitHub,
lib,
}:
buildGoModule rec {
pname = "hermit";
version = "0.48.0";
src = fetchFromGitHub {
rev = "v${version}";
owner = "cashapp";
repo = "hermit";
hash = "sha256-gV8moz9wSAt7gy2cTjl4IGOYHnm+4alBUhyKZmhgot8=";
};
vendorHash = "sha256-KEwbADLm7oTChoLyx/0SykQX1Fy4bJxNbYcGmfEka7Q=";
subPackages = [ "cmd/hermit" ];
ldflags = [
"-X main.version=${version}"
"-X main.channel=stable"
];
meta = {
homepage = "https://cashapp.github.io/hermit";
description = "Manages isolated, self-bootstrapping sets of tools in software projects";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ cbrewster ];
platforms = lib.platforms.unix;
mainProgram = "hermit";
};
}
|