depot/third_party/nixpkgs/pkgs/development/python-modules/cytoolz/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

37 lines
809 B
Nix

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