Commit bfc2a5b1 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files
parent 270d0e77
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -2,23 +2,20 @@
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  pythonOlder,
  setuptools,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "mmh3";
  version = "5.0.1";
  version = "5.1.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "hajimes";
    repo = "mmh3";
    tag = "v${version}";
    hash = "sha256-no3wbBxEz1UPiN25HvZGAUV1QxZydJB0Hb2Ib9ZrAUY=";
    hash = "sha256-56LrJuoBvhGgw+w4GIQ0XEQtf5oR87el+gZxgBYkyx0=";
  };

  build-system = [ setuptools ];
@@ -27,11 +24,11 @@ buildPythonPackage rec {

  nativeCheckInputs = [ pytestCheckHook ];

  meta = with lib; {
  meta = {
    description = "Python wrapper for MurmurHash3, a set of fast and robust hash functions";
    homepage = "https://github.com/hajimes/mmh3";
    changelog = "https://github.com/hajimes/mmh3/blob/v${version}/CHANGELOG.md";
    license = licenses.cc0;
    license = lib.licenses.cc0;
    maintainers = [ ];
  };
}