mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
![techknowlogick](/assets/img/avatar_default.png)
Diff: https://github.com/namespacelabs/foundation/compare/v0.0.302...v0.0.307 Changelog: https://github.com/namespacelabs/foundation/releases/tag/v0.0.307
36 lines
906 B
Nix
36 lines
906 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildGoModule
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "namespace-cli";
|
|
version = "0.0.307";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "namespacelabs";
|
|
repo = "foundation";
|
|
rev = "v${version}";
|
|
hash = "sha256-HcjHqZwT+PTK0ICCvdhaoczNG/DHpJQy1dvGieA2mNc=";
|
|
};
|
|
|
|
vendorHash = "sha256-0HyKcn5xt9vezSn6crRsJ/Jshmnk4OM8HZqH/v7DUDM=";
|
|
|
|
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";
|
|
};
|
|
}
|