python311Packages.xxhash: refactor

This commit is contained in:
Fabian Affolter
2023-12-20 20:46:01 +01:00
committed by Martin Weinelt
parent 1e2998f516
commit 8aab4e8ace
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
}:
@@ -9,6 +10,8 @@ buildPythonPackage rec {
version = "3.4.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-A3nWzx/5h81CFgmiZM4CXnTzRuPhRd0QbAzC4+w/mak=";
@@ -18,10 +21,15 @@ buildPythonPackage rec {
setuptools
];
pythonImportsCheck = [
"xxhash"
];
meta = with lib; {
description = "Python Binding for xxHash";
homepage = "https://github.com/ifduyue/python-xxhash";
description = "Python Binding for xxHash https://pypi.org/project/xxhash/";
changelog = "https://github.com/ifduyue/python-xxhash/blob/v${version}/CHANGELOG.rst";
license = licenses.bsd2;
maintainers = [ maintainers.teh ];
maintainers = with maintainers; [ teh ];
};
}