diff options
author | Augustin Borsu <a.borsu@gmail.com> | 2018-03-12 23:44:45 +0100 |
---|---|---|
committer | Augustin Borsu <a.borsu@gmail.com> | 2018-03-14 20:29:09 +0100 |
commit | 2e67c8e03021b42f1bc4fffc59e3c92074652772 (patch) | |
tree | 57e13b64cbe8e2184db553516761a2d873416270 /pkgs/development/python-modules/murmurhash | |
parent | 5568e25fa029272a341a502da4ad6182f7458f0f (diff) | |
download | nixlib-2e67c8e03021b42f1bc4fffc59e3c92074652772.tar nixlib-2e67c8e03021b42f1bc4fffc59e3c92074652772.tar.gz nixlib-2e67c8e03021b42f1bc4fffc59e3c92074652772.tar.bz2 nixlib-2e67c8e03021b42f1bc4fffc59e3c92074652772.tar.lz nixlib-2e67c8e03021b42f1bc4fffc59e3c92074652772.tar.xz nixlib-2e67c8e03021b42f1bc4fffc59e3c92074652772.tar.zst nixlib-2e67c8e03021b42f1bc4fffc59e3c92074652772.zip |
python.murmurhash: 0.26.4 -> 0.28.0
Diffstat (limited to 'pkgs/development/python-modules/murmurhash')
-rw-r--r-- | pkgs/development/python-modules/murmurhash/default.nix | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/murmurhash/default.nix b/pkgs/development/python-modules/murmurhash/default.nix index 023c94cdc8ea..f689bc2ff49d 100644 --- a/pkgs/development/python-modules/murmurhash/default.nix +++ b/pkgs/development/python-modules/murmurhash/default.nix @@ -1,35 +1,34 @@ { stdenv , buildPythonPackage -, fetchFromGitHub +, fetchPypi , cython , python }: buildPythonPackage rec { pname = "murmurhash"; - version = "0.26.4"; - name = pname + "-" + version; + version = "0.28.0"; - src = fetchFromGitHub { - owner = "explosion"; - repo = "murmurhash"; - rev = "0.26.4"; - sha256 = "0n2j0glhlv2yh3fjgbg4d79j1c1fpchgjd4vnpw908l9mzchhmdv"; + src = fetchPypi { + inherit pname version; + sha256 = "16id8jppw8r54wisrlaaiprcszzb7d7lbpnskqn38s8i7vnkf4b5"; }; buildInputs = [ cython ]; + # No test + doCheck = false; + checkPhase = '' - cd murmurhash/tests - ${python.interpreter} -m unittest discover -p "*test*" + pytest murmurhash ''; meta = with stdenv.lib; { description = "Cython bindings for MurmurHash2"; homepage = https://github.com/explosion/murmurhash; license = licenses.mit; - maintainers = with maintainers; [ sdll ]; - }; + maintainers = with maintainers; [ aborsu sdll ]; + }; } |