diff options
author | Sasha Delly <shura.sdll@gmail.com> | 2017-05-14 22:26:25 +0000 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-08-13 22:41:30 +0200 |
commit | b5b2890278331ceaa21b237f6aa29fa2a946a5e7 (patch) | |
tree | d8ee091945a87e3c9d88d62048ee5b814b7d529a /pkgs/development/python-modules/murmurhash | |
parent | fe17ed640a9cf9673b1d3e59affa4903b2992982 (diff) | |
download | nixlib-b5b2890278331ceaa21b237f6aa29fa2a946a5e7.tar nixlib-b5b2890278331ceaa21b237f6aa29fa2a946a5e7.tar.gz nixlib-b5b2890278331ceaa21b237f6aa29fa2a946a5e7.tar.bz2 nixlib-b5b2890278331ceaa21b237f6aa29fa2a946a5e7.tar.lz nixlib-b5b2890278331ceaa21b237f6aa29fa2a946a5e7.tar.xz nixlib-b5b2890278331ceaa21b237f6aa29fa2a946a5e7.tar.zst nixlib-b5b2890278331ceaa21b237f6aa29fa2a946a5e7.zip |
murmurhash: init at 0.26.4
Diffstat (limited to 'pkgs/development/python-modules/murmurhash')
-rw-r--r-- | pkgs/development/python-modules/murmurhash/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/murmurhash/default.nix b/pkgs/development/python-modules/murmurhash/default.nix new file mode 100644 index 000000000000..aa5e3358866d --- /dev/null +++ b/pkgs/development/python-modules/murmurhash/default.nix @@ -0,0 +1,34 @@ +{ stdenv +, buildPythonPackage +, fetchFromGitHub +, cython +, python +}: + +buildPythonPackage rec { + name = "murmurhash-${version}"; + version = "0.26.4"; + + src = fetchFromGitHub { + owner = "explosion"; + repo = "murmurhash"; + rev = "0.26.4"; + sha256 = "0n2j0glhlv2yh3fjgbg4d79j1c1fpchgjd4vnpw908l9mzchhmdv"; + }; + + buildInputs = [ + cython + ]; + + checkPhase = '' + cd murmurhash/tests + ${python.interpreter} -m unittest discover -p "*test*" + ''; + + meta = with stdenv.lib; { + description = "Cython bindings for MurmurHash2"; + homepage = https://github.com/explosion/murmurhash; + license = licenses.mit; + maintainers = with maintainers; [ sdll ]; + }; +} |