From e25854c530a7de1d4c05bd33fd8a4b23c9afe8e6 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 13 Jul 2019 11:35:49 +0200 Subject: add packages for nixpkgs 19.03 compatibility --- pkgs/development/python-modules/six/default.nix | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/development/python-modules/six/default.nix (limited to 'pkgs/development/python-modules/six') 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; + }; +} -- cgit v1.2.3