nixpkgs/pkgs/development/python-modules/xxhash/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

27 lines
530 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
}:
buildPythonPackage rec {
version = "3.2.0";
pname = "xxhash";
src = fetchPypi {
inherit pname version;
hash = "sha256-Gv1Hr4lVxdtzD2MK1TrnmM9/rgrLZM67PPlNNcR90Ig=";
};
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 ];
};
}