Files
nixpkgs/pkgs/by-name/cl/click/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

39 lines
876 B
Nix

{
fetchFromGitHub,
rustPlatform,
lib,
stdenv,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage rec {
pname = "click";
version = "0.6.3";
src = fetchFromGitHub {
owner = "databricks";
repo = "click";
rev = "v${version}";
hash = "sha256-tYSbyDipZg6Qj/CWk1QVUT5AG8ncTt+5V1+ekpmsKXA=";
};
cargoHash = "sha256-K9+SGpWcsOy0l8uj1z6AQggZq+M7wHARACFxsZ6vbUo=";
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ openssl ];
meta = with lib; {
description = "Command Line Interactive Controller for Kubernetes";
homepage = "https://github.com/databricks/click";
license = [ licenses.asl20 ];
maintainers = [ maintainers.mbode ];
platforms = [
"x86_64-linux"
"x86_64-darwin"
];
mainProgram = "click";
};
}