aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/six
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-07-13 11:35:49 +0200
committertv <tv@krebsco.de>2019-07-13 11:35:49 +0200
commite25854c530a7de1d4c05bd33fd8a4b23c9afe8e6 (patch)
tree0f03b8e4098aa9eae0917032adcff1719f49e55d /pkgs/development/python-modules/six
parent21d92db4d81af549784c8545c40f7a1abdb9c7dd (diff)
add packages for nixpkgs 19.03 compatibility
Diffstat (limited to 'pkgs/development/python-modules/six')
-rw-r--r--pkgs/development/python-modules/six/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/six/default.nix b/pkgs/development/python-modules/six/default.nix
new file mode 100644
index 0000000..c47bfe0
--- /dev/null
+++ b/pkgs/development/python-modules/six/default.nix
@@ -0,0 +1,30 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pytest
+}:
+
+buildPythonPackage rec {
+ pname = "six";
+ version = "1.11.0";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1scqzwc51c875z23phj48gircqjgnn3af8zy2izjwmnlxrxsgs3h";
+ };
+
+ checkInputs = [ pytest ];
+
+ checkPhase = ''
+ py.test test_six.py
+ '';
+
+ # To prevent infinite recursion with pytest
+ doCheck = false;
+
+ meta = {
+ description = "A Python 2 and 3 compatibility library";
+ homepage = https://pypi.python.org/pypi/six/;
+ license = lib.licenses.mit;
+ };
+}