From 9178c850df35668b21b115380d864eb1fc07e3ba Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Wed, 6 Jan 2016 13:14:19 +0100 Subject: [PATCH 1/2] pythonPackages.cytoolz: 0.7.3 -> 0.7.4 Update cytoolz. Add correct testrunner, even though tests have to be disabled. --- pkgs/top-level/python-packages.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 061f2683dc7e..f84a1e50c36b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3022,13 +3022,21 @@ in modules // { cytoolz = buildPythonPackage rec { name = "cytoolz-${version}"; - version = "0.7.3"; + version = "0.7.4"; src = pkgs.fetchurl{ url = "https://pypi.python.org/packages/source/c/cytoolz/cytoolz-${version}.tar.gz"; - md5 = "e9f0441d9f340a23c60357f68f25d163"; + sha256 = "9c2e3dda8232b6cd5b84b8c8df6c8155c2adeb8734eb7ec38e189affc0f2eba5"; }; + buildInputs = with self; [ nose ]; + + checkPhase = '' + nosetests cytoolz/tests + ''; + + doCheck = false; # Cannot import the extension module + meta = { homepage = "http://github.com/pytoolz/cytoolz/"; description = "Cython implementation of Toolz: High performance functional utilities"; From 7ba14e904e184efc9a671ec199eaea1d25f3daad Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Wed, 6 Jan 2016 13:14:40 +0100 Subject: [PATCH 2/2] pythonPackages.toolz: use correct testrunner --- pkgs/top-level/python-packages.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f84a1e50c36b..a1bb7d7469cb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -19113,6 +19113,12 @@ in modules // { sha256 = "43c2c9e5e7a16b6c88ba3088a9bfc82f7db8e13378be7c78d6c14a5f8ed05afd"; }; + buildInputs = with self; [ nose ]; + + checkPhase = '' + nosetests toolz/tests + ''; + meta = { homepage = "http://github.com/pytoolz/toolz/"; description = "List processing tools and functional utilities";