From 9c951c80a6bd3a658eb32639e20ef76c792f0405 Mon Sep 17 00:00:00 2001 From: Maxim Schuwalow Date: Wed, 13 Nov 2019 03:01:41 +0100 Subject: [PATCH] stups-cli-support: init at 1.1.20 --- .../stups-cli-support/default.nix | 43 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 45 insertions(+) create mode 100644 pkgs/development/python-modules/stups-cli-support/default.nix diff --git a/pkgs/development/python-modules/stups-cli-support/default.nix b/pkgs/development/python-modules/stups-cli-support/default.nix new file mode 100644 index 000000000000..35aaf45ed1a2 --- /dev/null +++ b/pkgs/development/python-modules/stups-cli-support/default.nix @@ -0,0 +1,43 @@ +{ lib +, fetchFromGitHub +, buildPythonPackage +, clickclick +, dnspython +, requests +, pytest +, pytestcov +, isPy3k +}: + +buildPythonPackage rec { + pname = "stups-cli-support"; + version = "1.1.20"; + disabled = !isPy3k; + + src = fetchFromGitHub { + owner = "zalando-stups"; + repo = "stups-cli-support"; + rev = version; + sha256 = "1r6g29gd009p87m8a6wv4rzx7f0564zdv67qz5xys4wsgvc95bx0"; + }; + + propagatedBuildInputs = [ + clickclick + dnspython + requests + ]; + + preCheck = "export HOME=$TEMPDIR"; + + checkInputs = [ + pytest + pytestcov + ]; + + meta = with lib; { + description = "Helper library for all STUPS command line tools."; + homepage = "https://github.com/zalando-stups/stups-cli-support"; + license = licenses.asl20; + maintainers = [ maintainers.mschuwalow ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 29efc35fd017..817d1a3f9654 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1321,6 +1321,8 @@ in { stumpy = callPackage ../development/python-modules/stumpy { }; + stups-cli-support = callPackage ../development/python-modules/stups-cli-support { }; + sumo = callPackage ../development/python-modules/sumo { }; supervise_api = callPackage ../development/python-modules/supervise_api { };