Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 34 lines 596 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, cython 5, python 6}: 7 8buildPythonPackage rec { 9 pname = "murmurhash"; 10 version = "0.28.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "16id8jppw8r54wisrlaaiprcszzb7d7lbpnskqn38s8i7vnkf4b5"; 15 }; 16 17 buildInputs = [ 18 cython 19 ]; 20 21 # No test 22 doCheck = false; 23 24 checkPhase = '' 25 pytest murmurhash 26 ''; 27 28 meta = with stdenv.lib; { 29 description = "Cython bindings for MurmurHash2"; 30 homepage = https://github.com/explosion/murmurhash; 31 license = licenses.mit; 32 maintainers = with maintainers; [ aborsu sdll ]; 33 }; 34}