Unverified Commit f7ecc542 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #186833 from r-ryantm/auto-update/python310Packages.murmurhash

python310Packages.murmurhash: 1.0.8 -> 1.0.9
parents 2855d863 e811f473
Loading
Loading
Loading
Loading
+12 −7
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, cython
, fetchPypi
, pythonOlder
}:

buildPythonPackage rec {
  pname = "murmurhash";
  version = "1.0.8";
  version = "1.0.9";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-i7A6rYQoN6ZLDB0u0itQ66hfn6UUdsi8CnfDZql58fM=";
    hash = "sha256-/no4yw09h8FOyd3cSTL/4tvHfXVGmrgP1QFGibDge1g=";
  };

  postPatch = ''
    substituteInPlace setup.py --replace "'wheel>=0.32.0,<0.33.0'" ""
    substituteInPlace setup.py \
      --replace "'wheel>=0.32.0,<0.33.0'" ""
  '';

  buildInputs = [
@@ -24,9 +29,9 @@ buildPythonPackage rec {
  # No test
  doCheck = false;

  checkPhase = ''
    pytest murmurhash
  '';
  pythonImportsCheck = [
    "murmurhash"
  ];

  meta = with lib; {
    description = "Cython bindings for MurmurHash2";