mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
348b256e98
Since v3.0.0, xxhash now uses setuptools-scm to manage its version
27 lines
532 B
Nix
27 lines
532 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools-scm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "3.0.0";
|
|
pname = "xxhash";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-MLLZeq8R+xIgI/a0TruXxpVengDXRhqWQVygMLXOucc=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/ifduyue/python-xxhash";
|
|
description = "Python Binding for xxHash https://pypi.org/project/xxhash/";
|
|
license = licenses.bsd2;
|
|
maintainers = [ maintainers.teh ];
|
|
};
|
|
}
|