nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 21.05 37 lines 684 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, cython 5}: 6 7buildPythonPackage rec { 8 pname = "murmurhash"; 9 version = "1.0.5"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "98ec9d727bd998a35385abd56b062cf0cca216725ea7ec5068604ab566f7e97f"; 14 }; 15 16 postPatch = '' 17 substituteInPlace setup.py --replace "'wheel>=0.32.0,<0.33.0'" "" 18 ''; 19 20 buildInputs = [ 21 cython 22 ]; 23 24 # No test 25 doCheck = false; 26 27 checkPhase = '' 28 pytest murmurhash 29 ''; 30 31 meta = with lib; { 32 description = "Cython bindings for MurmurHash2"; 33 homepage = "https://github.com/explosion/murmurhash"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ aborsu sdll ]; 36 }; 37}