1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/development/python-modules/cytoolz/default.nix

38 lines
807 B
Nix
Raw Normal View History

2017-10-29 11:43:45 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, isPyPy
, nose
, toolz
, python
, fetchpatch
2017-10-29 11:43:45 +00:00
}:
buildPythonPackage rec {
pname = "cytoolz";
version = "0.10.1";
2017-10-29 11:43:45 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "0p4a9nadsy1337gy2cnb5yanbn03j3zm6d9adyqad9bk3nlbpxc2";
2017-10-29 11:43:45 +00:00
};
# Extension types
disabled = isPyPy;
checkInputs = [ nose ];
propagatedBuildInputs = [ toolz ];
2018-11-24 13:49:48 +00:00
# Failing test https://github.com/pytoolz/cytoolz/issues/122
2017-10-29 11:43:45 +00:00
checkPhase = ''
2018-11-24 13:49:48 +00:00
NOSE_EXCLUDE=test_introspect_builtin_modules nosetests -v $out/${python.sitePackages}
2017-10-29 11:43:45 +00:00
'';
meta = {
homepage = https://github.com/pytoolz/cytoolz/;
2017-10-29 11:43:45 +00:00
description = "Cython implementation of Toolz: High performance functional utilities";
license = "licenses.bsd3";
maintainers = with lib.maintainers; [ fridh ];
};
}