diff options
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/effect/default.nix | 33 | ||||
-rw-r--r-- | pkgs/development/python-modules/pylibconfig2/default.nix | 21 |
2 files changed, 54 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/effect/default.nix b/pkgs/development/python-modules/effect/default.nix new file mode 100644 index 000000000000..2738d2283395 --- /dev/null +++ b/pkgs/development/python-modules/effect/default.nix @@ -0,0 +1,33 @@ +{ buildPythonPackage +, fetchPypi +, lib +, six +, attrs +, pytest +, testtools +}: +buildPythonPackage rec { + version = "0.11.0"; + pname = "effect"; + + src = fetchPypi { + inherit pname version; + sha256 = "1q75w4magkqd8ggabhhzzxmxakpdnn0vdg7ygj89zdc9yl7561q6"; + }; + checkInputs = [ + pytest + testtools + ]; + propagatedBuildInputs = [ + six + attrs + ]; + checkPhase = '' + pytest . + ''; + meta = with lib; { + description = "Pure effects for Python"; + homepage = https://github.com/python-effect/effect; + license = licenses.mit; + }; +} diff --git a/pkgs/development/python-modules/pylibconfig2/default.nix b/pkgs/development/python-modules/pylibconfig2/default.nix new file mode 100644 index 000000000000..6cea70c57089 --- /dev/null +++ b/pkgs/development/python-modules/pylibconfig2/default.nix @@ -0,0 +1,21 @@ +{ stdenv, buildPythonPackage, fetchPypi, pyparsing }: +buildPythonPackage rec { + pname = "pylibconfig2"; + version = "0.2.5"; + + src = fetchPypi { + inherit pname version; + sha256 = "1iwm11v0ghv2pq2cyvly7gdwrhxsx6iwi581fz46l0snhgcd4sqq"; + }; + + # tests not included in the distribution + doCheck = false; + + propagatedBuildInputs = [ pyparsing ]; + + meta = with stdenv.lib; { + homepage = https://github.com/heinzK1X/pylibconfig2; + description = "Pure python library for libconfig syntax"; + license = licenses.gpl3; + }; +} |