Merge pull request #169870 from NixOS/xxhash

python3Packages.xxhash: fix version with setuptools-scm
This commit is contained in:
Artturi 2022-04-23 05:13:16 +03:00 committed by GitHub
commit dafd142f69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, setuptools-scm
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -12,6 +13,10 @@ buildPythonPackage rec {
sha256 = "sha256-MLLZeq8R+xIgI/a0TruXxpVengDXRhqWQVygMLXOucc="; sha256 = "sha256-MLLZeq8R+xIgI/a0TruXxpVengDXRhqWQVygMLXOucc=";
}; };
nativeBuildInputs = [
setuptools-scm
];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/ifduyue/python-xxhash"; homepage = "https://github.com/ifduyue/python-xxhash";
description = "Python Binding for xxHash https://pypi.org/project/xxhash/"; description = "Python Binding for xxHash https://pypi.org/project/xxhash/";