diff options
author | Sebastian Jordan <sebastian.jordan.mail@googlemail.com> | 2018-04-20 11:32:29 +0200 |
---|---|---|
committer | Sebastian Jordan <sebastian.jordan.mail@googlemail.com> | 2018-05-22 20:55:07 +0200 |
commit | aca3198c70084beec4fcd5d49bd3f8ead0a0e10a (patch) | |
tree | 1e8c3b22f8565d19a869571eeb14b62f3b96e54d /pkgs/development | |
parent | 101d1d118d28b368a2de4246bfce4bf3151c51f0 (diff) | |
download | nixlib-aca3198c70084beec4fcd5d49bd3f8ead0a0e10a.tar nixlib-aca3198c70084beec4fcd5d49bd3f8ead0a0e10a.tar.gz nixlib-aca3198c70084beec4fcd5d49bd3f8ead0a0e10a.tar.bz2 nixlib-aca3198c70084beec4fcd5d49bd3f8ead0a0e10a.tar.lz nixlib-aca3198c70084beec4fcd5d49bd3f8ead0a0e10a.tar.xz nixlib-aca3198c70084beec4fcd5d49bd3f8ead0a0e10a.tar.zst nixlib-aca3198c70084beec4fcd5d49bd3f8ead0a0e10a.zip |
nix-prefetch-github: init -> 1.3
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/effect/default.nix | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/effect/default.nix b/pkgs/development/python-modules/effect/default.nix index d5fdf2d3f85d..2738d2283395 100644 --- a/pkgs/development/python-modules/effect/default.nix +++ b/pkgs/development/python-modules/effect/default.nix @@ -1,28 +1,32 @@ { buildPythonPackage , fetchPypi , lib -, attrs , six +, attrs +, pytest +, testtools }: -let +buildPythonPackage rec { + version = "0.11.0"; + pname = "effect"; -version = "0.11.0"; -pname = "effect"; - -in -buildPythonPackage { - inherit version pname; src = fetchPypi { inherit pname version; sha256 = "1q75w4magkqd8ggabhhzzxmxakpdnn0vdg7ygj89zdc9yl7561q6"; }; + checkInputs = [ + pytest + testtools + ]; propagatedBuildInputs = [ six attrs ]; - doCheck = false; + checkPhase = '' + pytest . + ''; meta = with lib; { - description = "pure effects for Python"; + description = "Pure effects for Python"; homepage = https://github.com/python-effect/effect; license = licenses.mit; }; |