blob: 2314555fcb58805a8cae8e900e317166e045040d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{ lib
, buildPythonPackage
, cymem
, cython
, python
, fetchPypi
, murmurhash
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "preshed";
version = "3.0.9";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-chhjxSRP/NJlGtCSiVGix8d7EC9OEaJRrYXTfudiFmA=";
};
nativeBuildInputs = [
cython
];
propagatedBuildInputs = [
cymem
murmurhash
];
nativeCheckInputs = [
pytestCheckHook
];
# Tests have import issues with 3.0.8
doCheck = false;
pythonImportsCheck = [
"preshed"
];
# don't update to 4.0.0, version was yanked
passthru.skipBulkUpdate = true;
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; [ ];
};
}
|