Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 29 lines 644 B view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 pythonOlder, 6}: 7 8buildPythonPackage rec { 9 pname = "mmh3"; 10 version = "4.1.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-oc8lNIuazSKd2kZKCU1hcPR9KFCh/Ldio7YXLSzmyko="; 18 }; 19 20 pythonImportsCheck = [ "mmh3" ]; 21 22 meta = with lib; { 23 description = "Python wrapper for MurmurHash3, a set of fast and robust hash functions"; 24 homepage = "https://github.com/hajimes/mmh3"; 25 changelog = "https://github.com/hajimes/mmh3/blob/v${version}/CHANGELOG.md"; 26 license = licenses.cc0; 27 maintainers = [ ]; 28 }; 29}