2018-03-31 16:11:39 +02:00
|
|
|
{ darwin, fetchFromGitHub, rustPlatform, stdenv }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
2019-08-31 13:41:23 +02:00
|
|
|
pname = "click";
|
2019-08-03 18:39:45 +02:00
|
|
|
version = "0.4.2";
|
2018-03-31 16:11:39 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-09-15 10:38:15 +02:00
|
|
|
rev = "v${version}";
|
2018-03-31 16:11:39 +02:00
|
|
|
owner = "databricks";
|
|
|
|
repo = "click";
|
2019-08-03 18:39:45 +02:00
|
|
|
sha256 = "18mpzvvww2g6y2d3m8wcfajzdshagihn59k03xvcknd5d8zxagl3";
|
2018-03-31 16:11:39 +02:00
|
|
|
};
|
|
|
|
|
2020-02-29 19:05:01 +01:00
|
|
|
cargoSha256 = "1f9yn4pvp58laylngdrfdkwygisnzkhkm7pndf6l33k3aqxhz5mm";
|
2018-03-31 16:11:39 +02:00
|
|
|
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = ''The "Command Line Interactive Controller for Kubernetes"'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/databricks/click";
|
2018-03-31 16:11:39 +02:00
|
|
|
license = [ licenses.asl20 ];
|
|
|
|
maintainers = [ maintainers.mbode ];
|
|
|
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
|
|
|
};
|
|
|
|
}
|