Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
907 B · 41 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchPypi, isPyPy, pytestCheckHook, cython, toolz, python, isPy27}:
buildPythonPackage rec { pname = "cytoolz"; version = "0.12.1"; disabled = isPy27 || isPyPy;
src = fetchPypi { inherit pname version; hash = "sha256-/DOQk5dIHJDePOyDG/uI2X4iDckZOdmWkgIC8YS0ZI4="; };
nativeBuildInputs = [ cython ];
propagatedBuildInputs = [ toolz ];
# tests are located in cytoolz/tests, however we can't import cytoolz # from $PWD, as it will break relative imports preCheck = '' cd cytoolz export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH '';
nativeCheckInputs = [ pytestCheckHook ];
meta = { homepage = "https://github.com/pytoolz/cytoolz/"; description = "Cython implementation of Toolz: High performance functional utilities"; license = "licenses.bsd3"; maintainers = with lib.maintainers; [ fridh ]; };}