nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 827 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 cython, 5 fetchPypi, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "murmurhash"; 11 version = "1.0.15"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-WOKye3hH+eKm7fELR6jI3XCkcF9F3Mt792rq2s9WugE="; 17 }; 18 19 postPatch = '' 20 substituteInPlace setup.py \ 21 --replace "'wheel>=0.32.0,<0.33.0'" "" 22 ''; 23 24 build-system = [ setuptools ]; 25 26 buildInputs = [ cython ]; 27 28 # No test 29 doCheck = false; 30 31 pythonImportsCheck = [ "murmurhash" ]; 32 33 meta = { 34 description = "Cython bindings for MurmurHash2"; 35 homepage = "https://github.com/explosion/murmurhash"; 36 changelog = "https://github.com/explosion/murmurhash/releases/tag/release-v${version}"; 37 license = lib.licenses.mit; 38 maintainers = with lib.maintainers; [ aborsu ]; 39 }; 40}