1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/networking/cluster/click/default.nix

28 lines
771 B
Nix
Raw Normal View History

2018-03-31 15:11:39 +01:00
{ darwin, fetchFromGitHub, rustPlatform, stdenv }:
with rustPlatform;
buildRustPackage rec {
2019-08-31 12:41:23 +01:00
pname = "click";
2019-08-03 17:39:45 +01:00
version = "0.4.2";
2018-03-31 15:11:39 +01:00
src = fetchFromGitHub {
rev = "v${version}";
2018-03-31 15:11:39 +01:00
owner = "databricks";
repo = "click";
2019-08-03 17:39:45 +01:00
sha256 = "18mpzvvww2g6y2d3m8wcfajzdshagihn59k03xvcknd5d8zxagl3";
2018-03-31 15:11:39 +01:00
};
2019-08-03 17:39:45 +01:00
cargoSha256 = "0298x7wkr4j1l5flmv5vhl1ay8icvh4dlhsh4xi8fd3p8jl9jpqv";
2018-03-31 15:11:39 +01:00
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
meta = with stdenv.lib; {
description = ''The "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" ];
};
}