about summary refs log tree commit diff
path: root/pkgs/development/python-modules/retrying
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-25 20:29:48 -0400
committerFrederik Rietdijk <fridh@fridh.nl>2018-10-27 09:07:18 +0200
commit95d05603d3683c1ac2d08bf7396e315f9b164c15 (patch)
treeda9cc57f29797f2c5c5ab7f3c275562f7e04a58d /pkgs/development/python-modules/retrying
parent62ca7b6dd404fd39724df8160c47540de6ef744e (diff)
pythonPackages.retrying: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/retrying')
-rw-r--r--pkgs/development/python-modules/retrying/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/retrying/default.nix b/pkgs/development/python-modules/retrying/default.nix
new file mode 100644
index 0000000000000..9074634e9b6ab
--- /dev/null
+++ b/pkgs/development/python-modules/retrying/default.nix
@@ -0,0 +1,27 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, six
+}:
+
+buildPythonPackage rec {
+  pname = "retrying";
+  version = "1.3.3";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0fwp86xv0rvkncjdvy2mwcvbglw4w9k0fva25i7zx8kd19b3kh08";
+  };
+
+  propagatedBuildInputs = [ six ];
+
+  # doesn't ship tests in tarball
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/rholder/retrying;
+    description = "General-purpose retrying library";
+    license = licenses.asl20;
+  };
+
+}