blob: 83bf70a02d2213a106044ff47dc2da2a546fcc9e (
plain)
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
|
{
lib,
buildPythonPackage,
cython,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "murmurhash";
version = "1.0.15";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-WOKye3hH+eKm7fELR6jI3XCkcF9F3Mt792rq2s9WugE=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "'wheel>=0.32.0,<0.33.0'" ""
'';
build-system = [ setuptools ];
buildInputs = [ cython ];
# No test
doCheck = false;
pythonImportsCheck = [ "murmurhash" ];
meta = {
description = "Cython bindings for MurmurHash2";
homepage = "https://github.com/explosion/murmurhash";
changelog = "https://github.com/explosion/murmurhash/releases/tag/release-v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ aborsu ];
};
}
|