1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 23:10:02 +00:00
nixpkgs/pkgs/development/python-modules/murmurhash/default.nix
2018-03-14 20:29:09 +01:00

35 lines
596 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, cython
, python
}:
buildPythonPackage rec {
pname = "murmurhash";
version = "0.28.0";
src = fetchPypi {
inherit pname version;
sha256 = "16id8jppw8r54wisrlaaiprcszzb7d7lbpnskqn38s8i7vnkf4b5";
};
buildInputs = [
cython
];
# No test
doCheck = false;
checkPhase = ''
pytest murmurhash
'';
meta = with stdenv.lib; {
description = "Cython bindings for MurmurHash2";
homepage = https://github.com/explosion/murmurhash;
license = licenses.mit;
maintainers = with maintainers; [ aborsu sdll ];
};
}