diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-05-23 16:33:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-23 16:33:03 +0100 |
commit | 273c882f532802860ed42a9d4ed406e8ec3fa62b (patch) | |
tree | 865c2073a1cf6d3ef70a65e602ef2a64ebaf3fd9 /pkgs/development/python-modules | |
parent | 6ea941d3fd9e3988dfe6c12f6efe0d994c8664a6 (diff) | |
parent | aca3198c70084beec4fcd5d49bd3f8ead0a0e10a (diff) | |
download | nixlib-273c882f532802860ed42a9d4ed406e8ec3fa62b.tar nixlib-273c882f532802860ed42a9d4ed406e8ec3fa62b.tar.gz nixlib-273c882f532802860ed42a9d4ed406e8ec3fa62b.tar.bz2 nixlib-273c882f532802860ed42a9d4ed406e8ec3fa62b.tar.lz nixlib-273c882f532802860ed42a9d4ed406e8ec3fa62b.tar.xz nixlib-273c882f532802860ed42a9d4ed406e8ec3fa62b.tar.zst nixlib-273c882f532802860ed42a9d4ed406e8ec3fa62b.zip |
Merge pull request #39214 from seppeljordan/add-nix-prefetch-github
Add nix-prefetch-github
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/effect/default.nix | 33 |
1 files changed, 33 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; + }; +} |