nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 29 lines 642 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "xxhash"; 10 version = "3.6.0"; 11 pyproject = true; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-8BYqeLE6DXYXsoRbkMdjM50fHYK7BKSwf0q1NcxeBdY="; 16 }; 17 18 nativeBuildInputs = [ setuptools ]; 19 20 pythonImportsCheck = [ "xxhash" ]; 21 22 meta = { 23 description = "Python Binding for xxHash"; 24 homepage = "https://github.com/ifduyue/python-xxhash"; 25 changelog = "https://github.com/ifduyue/python-xxhash/blob/v${version}/CHANGELOG.rst"; 26 license = lib.licenses.bsd2; 27 maintainers = with lib.maintainers; [ teh ]; 28 }; 29}