diff options
author | adisbladis <adis@blad.is> | 2017-11-09 19:26:09 +0800 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-11-23 17:49:43 +0100 |
commit | d99378654f97e7f62393514b36886c0b14d04e99 (patch) | |
tree | 49929a7437e9e7aaaa663e5511a5010881eef540 /pkgs/development/python-modules/murmurhash | |
parent | 4ae5f314037867369c2b0e38a7587d2db393268f (diff) | |
download | nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar.gz nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar.bz2 nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar.lz nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar.xz nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar.zst nixlib-d99378654f97e7f62393514b36886c0b14d04e99.zip |
pythonPackages: Add version and pname attributes to packages
Diffstat (limited to 'pkgs/development/python-modules/murmurhash')
-rw-r--r-- | pkgs/development/python-modules/murmurhash/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/murmurhash/default.nix b/pkgs/development/python-modules/murmurhash/default.nix index aa5e3358866d..023c94cdc8ea 100644 --- a/pkgs/development/python-modules/murmurhash/default.nix +++ b/pkgs/development/python-modules/murmurhash/default.nix @@ -6,25 +6,26 @@ }: buildPythonPackage rec { - name = "murmurhash-${version}"; + pname = "murmurhash"; version = "0.26.4"; - + name = pname + "-" + version; + src = fetchFromGitHub { owner = "explosion"; repo = "murmurhash"; rev = "0.26.4"; - sha256 = "0n2j0glhlv2yh3fjgbg4d79j1c1fpchgjd4vnpw908l9mzchhmdv"; + 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; |