summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Schuwalow <maxim.schuwalow@zalando.de>2020-01-12 03:11:56 +0100
committerJon <jonringer@users.noreply.github.com>2020-01-13 10:41:46 -0800
commit1979ac619f0e5b021ecb440193347f9e9ae36a9d (patch)
treef2bd862bb8c9c16fd31fc349cbaa290e8bcbc22f
parentc2997409d3120d63a6db5dd4f093df48fb155c71 (diff)
downloadnixpkgs-1979ac619f0e5b021ecb440193347f9e9ae36a9d.tar
nixpkgs-1979ac619f0e5b021ecb440193347f9e9ae36a9d.tar.gz
nixpkgs-1979ac619f0e5b021ecb440193347f9e9ae36a9d.tar.bz2
nixpkgs-1979ac619f0e5b021ecb440193347f9e9ae36a9d.tar.lz
nixpkgs-1979ac619f0e5b021ecb440193347f9e9ae36a9d.tar.xz
nixpkgs-1979ac619f0e5b021ecb440193347f9e9ae36a9d.tar.zst
nixpkgs-1979ac619f0e5b021ecb440193347f9e9ae36a9d.zip
stups-pierone: init at 1.1.45
-rw-r--r--pkgs/development/python-modules/stups-pierone/default.nix47
-rw-r--r--pkgs/top-level/python-packages.nix2
2 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/stups-pierone/default.nix b/pkgs/development/python-modules/stups-pierone/default.nix
new file mode 100644
index 00000000000..aaa04991641
--- /dev/null
+++ b/pkgs/development/python-modules/stups-pierone/default.nix
@@ -0,0 +1,47 @@
+{ lib
+, fetchFromGitHub
+, buildPythonPackage
+, requests
+, stups-cli-support
+, stups-zign
+, pytest
+, pytestcov
+, hypothesis
+, isPy3k
+}:
+
+buildPythonPackage rec {
+  pname = "stups-pierone";
+  version = "1.1.45";
+  disabled = !isPy3k;
+
+  src = fetchFromGitHub {
+    owner = "zalando-stups";
+    repo = "pierone-cli";
+    rev = version;
+    sha256 = "1ggfizw27wpcagbbk15xpfrhq6b250cx4278b5d7y8s438g128cs";
+  };
+
+  propagatedBuildInputs = [
+    requests
+    stups-cli-support
+    stups-zign
+  ];
+
+  preCheck = "
+    export HOME=$TEMPDIR
+  ";
+
+  checkInputs = [
+    pytest
+    pytestcov
+    hypothesis
+  ];
+
+  meta = with lib; {
+    description = "Convenient command line client for STUPS' Pier One Docker registry";
+    homepage = "https://github.com/zalando-stups/pierone-cli";
+    license = licenses.asl20;
+    maintainers = [ maintainers.mschuwalow ];
+  };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index df861e06aa0..f314cffbb52 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -1392,6 +1392,8 @@ in {
 
   stups-fullstop = callPackage ../development/python-modules/stups-fullstop { };
 
+  stups-pierone = callPackage ../development/python-modules/stups-pierone { };
+
   stups-tokens = callPackage ../development/python-modules/stups-tokens { };
 
   stups-zign = callPackage ../development/python-modules/stups-zign { };