diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/xxhash/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/xxhash/default.nix | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/xxhash/default.nix b/nixpkgs/pkgs/development/python-modules/xxhash/default.nix index 4f226e731295..6eb774677bfc 100644 --- a/nixpkgs/pkgs/development/python-modules/xxhash/default.nix +++ b/nixpkgs/pkgs/development/python-modules/xxhash/default.nix @@ -1,27 +1,35 @@ { lib , buildPythonPackage , fetchPypi -, setuptools-scm +, pythonOlder +, setuptools }: buildPythonPackage rec { - version = "3.3.0"; - format = "setuptools"; pname = "xxhash"; + version = "3.4.1"; + pyproject = true; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-w/njIrHr7r1E49nS2bEk4MVQwe9BvVUq/c3XGVFu5Bo="; + hash = "sha256-A3nWzx/5h81CFgmiZM4CXnTzRuPhRd0QbAzC4+w/mak="; }; nativeBuildInputs = [ - setuptools-scm + 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 ]; }; } |