preshed: init at 1.0.0
This commit is contained in:
parent
3fe916dd4a
commit
f1ce370b8e
37
pkgs/development/python-modules/preshed/default.nix
Normal file
37
pkgs/development/python-modules/preshed/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytest
|
||||||
|
, cython
|
||||||
|
, cymem
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "preshed";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1pdl4p2d32ficfh18xdkgsj6ajzdxc6mxhhf84z0wq1l8viskcx6";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
cython
|
||||||
|
cymem
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
pytest
|
||||||
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} setup.py test
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Cython hash tables that assume keys are pre-hashed";
|
||||||
|
homepage = https://github.com/explosion/preshed;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ sdll ];
|
||||||
|
};
|
||||||
|
}
|
@ -28721,8 +28721,12 @@ EOF
|
|||||||
|
|
||||||
murmurhash = callPackage ../development/python-modules/murmurhash { };
|
murmurhash = callPackage ../development/python-modules/murmurhash { };
|
||||||
|
|
||||||
|
|
||||||
plac = callPackage ../development/python-modules/plac { };
|
plac = callPackage ../development/python-modules/plac { };
|
||||||
|
|
||||||
|
|
||||||
|
preshed = callPackage ../development/python-modules/preshed { };
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
in fix' (extends overrides packages)
|
in fix' (extends overrides packages)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user