python310Packages.mmh3: add format

- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter 2023-06-20 08:12:10 +02:00 committed by GitHub
parent 53faea4ce2
commit 2675cab41c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,19 @@
{ lib { lib
, fetchPypi , fetchPypi
, buildPythonPackage , buildPythonPackage
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "mmh3"; pname = "mmh3";
version = "4.0.0"; version = "4.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-BWuD0E5ZVUfQQHzI5apdi6iAKor6QXtkwcMCNbU4njA="; hash = "sha256-BWuD0E5ZVUfQQHzI5apdi6iAKor6QXtkwcMCNbU4njA=";
}; };
pythonImportsCheck = [ pythonImportsCheck = [