My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/preshed/default.nix

39 lines
686 B

{ lib
, buildPythonPackage
, fetchPypi
, murmurhash
, pytest
, cython
, cymem
, python
}:
buildPythonPackage rec {
pname = "preshed";
version = "3.0.6";
src = fetchPypi {
inherit pname version;
sha256 = "fb3b7588a3a0f2f2f1bf3fe403361b2b031212b73a37025aea1df7215af3772a";
};
propagatedBuildInputs = [
cython
cymem
murmurhash
];
checkInputs = [
pytest
];
checkPhase = ''
${python.interpreter} setup.py test
'';
meta = with lib; {
description = "Cython hash tables that assume keys are pre-hashed";
homepage = "https://github.com/explosion/preshed";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}