namespace-cli: init at 0.0.301
This commit is contained in:
parent
0c74492a35
commit
ec8c567248
1 changed files with 35 additions and 0 deletions
35
pkgs/by-name/na/namespace-cli/package.nix
Normal file
35
pkgs/by-name/na/namespace-cli/package.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildGoModule
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "namespace-cli";
|
||||
version = "0.0.301";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "namespacelabs";
|
||||
repo = "foundation";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-e2le7yIzgb3dReniU7grR814xDWhGgckuyzx4omeRYI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-jYkEXoCxqlxLF7oRc7H+/pMwkphOEwt2qUFkg+JOKVA=";
|
||||
|
||||
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 = "A command line interface for the Namespaces platform";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue