about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorJudson <nyarly@gmail.com>2018-05-13 14:20:59 -0700
committerJudson <nyarly@gmail.com>2018-05-13 14:20:59 -0700
commit42d0ce8a28c63058004e38d0fb9a1dee4c0d00bc (patch)
tree50251ad0bfe6ed3ec25994dad02433464d37e86e /pkgs/development/python-modules
parentf252c72669399b95827e000bbaa535510b952785 (diff)
downloadnixlib-42d0ce8a28c63058004e38d0fb9a1dee4c0d00bc.tar
nixlib-42d0ce8a28c63058004e38d0fb9a1dee4c0d00bc.tar.gz
nixlib-42d0ce8a28c63058004e38d0fb9a1dee4c0d00bc.tar.bz2
nixlib-42d0ce8a28c63058004e38d0fb9a1dee4c0d00bc.tar.lz
nixlib-42d0ce8a28c63058004e38d0fb9a1dee4c0d00bc.tar.xz
nixlib-42d0ce8a28c63058004e38d0fb9a1dee4c0d00bc.tar.zst
nixlib-42d0ce8a28c63058004e38d0fb9a1dee4c0d00bc.zip
keyrings.alt: init at 2.3
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/keyrings-alt/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/keyrings-alt/default.nix b/pkgs/development/python-modules/keyrings-alt/default.nix
new file mode 100644
index 000000000000..140d4297cda5
--- /dev/null
+++ b/pkgs/development/python-modules/keyrings-alt/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, buildPythonPackage, fetchPypi, six
+, pytest, unittest2, mock, keyring
+}:
+
+buildPythonPackage rec {
+  pname = "keyrings.alt";
+  version = "2.3";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "5cb9b6cdb5ce5e8216533e342d3e1b418ddd210466834061966d7dc1a4736f2d";
+  };
+  propagatedBuildInputs = [ six ];
+
+  # Fails with "ImportError: cannot import name mock"
+  doCheck = false;
+  checkInputs = [ pytest unittest2 mock keyring ];
+
+  meta = with stdenv.lib; {
+    license = licenses.mit;
+    description = "Alternate keyring implementations";
+    homepage = https://github.com/jaraco/keyrings.alt;
+    maintainers = with maintainers; [ nyarly ];
+  };
+}