blob: 58c4872b2c6a055bc3c238d38816799eb08493b9 (
plain) (
blame)
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
|
{ lib
, fetchFromGitHub
, buildGoModule
}:
buildGoModule rec {
pname = "namespace-cli";
version = "0.0.392";
src = fetchFromGitHub {
owner = "namespacelabs";
repo = "foundation";
rev = "v${version}";
hash = "sha256-o0/kAat8vEhVE9ut179yBpvLuMFw6bNha2qT1ddvs7E=";
};
vendorHash = "sha256-XO/Fj66w17zLJIQHv6F6czReqtqyCORAgCRtjwRaTbo=";
subPackages = ["cmd/nsc" "cmd/ns" "cmd/docker-credential-nsc"];
ldflags = [
"-s"
"-w"
"-X namespacelabs.dev/foundation/internal/cli/version.Tag=v${version}"
];
meta = with lib; {
mainProgram = "nsc";
maintainers = with maintainers; [ techknowlogick ];
license = licenses.asl20;
changelog = "https://github.com/namespacelabs/foundation/releases/tag/v${version}";
homepage = "https://github.com/namespacelabs/foundation";
description = "Command line interface for the Namespaces platform";
};
}
|