nixpkgs/pkgs/development/python-modules/murmurhash/default.nix

35 lines
596 B
Nix
Raw Normal View History

2017-05-15 00:26:25 +02:00
{ stdenv
, buildPythonPackage
2018-03-12 23:44:45 +01:00
, fetchPypi
2017-05-15 00:26:25 +02:00
, cython
, python
}:
buildPythonPackage rec {
pname = "murmurhash";
2018-03-12 23:44:45 +01:00
version = "0.28.0";
2018-03-12 23:44:45 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "16id8jppw8r54wisrlaaiprcszzb7d7lbpnskqn38s8i7vnkf4b5";
2017-05-15 00:26:25 +02:00
};
buildInputs = [
cython
];
2018-03-12 23:44:45 +01:00
# No test
doCheck = false;
2017-05-15 00:26:25 +02:00
checkPhase = ''
2018-03-12 23:44:45 +01:00
pytest murmurhash
2017-05-15 00:26:25 +02:00
'';
2017-05-15 00:26:25 +02:00
meta = with stdenv.lib; {
description = "Cython bindings for MurmurHash2";
homepage = https://github.com/explosion/murmurhash;
license = licenses.mit;
2018-03-12 23:44:45 +01:00
maintainers = with maintainers; [ aborsu sdll ];
};
2017-05-15 00:26:25 +02:00
}