murmurhash: init at 0.26.4
commitb5b2890278331ceaa21b237f6aa29fa2a946a5e7
authorSasha Delly <shura.sdll@gmail.com>
dateSun 14 May 2017, 22:26 (10 years ago)
parentfe17ed6
pkgs/development/python-modules/murmurhash/default.nixnew file+34
@@ -0,0 +1,34 @@
1+{ stdenv
2+, buildPythonPackage
3+, fetchFromGitHub
4+, cython
5+, python
6+}:
7+
8+buildPythonPackage rec {
9+ name = "murmurhash-${version}";
10+ version = "0.26.4";
11+
12+ src = fetchFromGitHub {
13+ owner = "explosion";
14+ repo = "murmurhash";
15+ rev = "0.26.4";
16+ sha256 = "0n2j0glhlv2yh3fjgbg4d79j1c1fpchgjd4vnpw908l9mzchhmdv";
17+ };
18+
19+ buildInputs = [
20+ cython
21+ ];
22+
23+ checkPhase = ''
24+ cd murmurhash/tests
25+ ${python.interpreter} -m unittest discover -p "*test*"
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; [ sdll ];
33+ };
34+}
pkgs/top-level/python-packages.nix+2
@@ -28719,6 +28719,8 @@ EOF
2871928719
2872028720 ftfy = callPackage ../development/python-modules/ftfy { };
2872128721
28722+ murmurhash = callPackage ../development/python-modules/murmurhash { };
28723+
2872228724});
2872328725
2872428726in fix' (extends overrides packages)