Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
988 B · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchFromGitHub, cython, poetry-core, setuptools, fnvhash, pytest-codspeed, pytest-cov-stub, pytestCheckHook,}:
buildPythonPackage rec { pname = "fnv-hash-fast"; version = "1.5.0"; pyproject = true;
src = fetchFromGitHub { owner = "bdraco"; repo = "fnv-hash-fast"; tag = "v${version}"; hash = "sha256-yhn39QEIZQqY/6W2rhUff45tQzap9N6OPiP/Z9oEz8U="; };
build-system = [ cython poetry-core setuptools ];
dependencies = [ fnvhash ];
pythonRelaxDeps = [ "fnvhash" ];
pythonImportsCheck = [ "fnv_hash_fast" ];
nativeCheckInputs = [ pytest-codspeed pytest-cov-stub pytestCheckHook ];
meta = with lib; { description = "Fast version of fnv1a"; homepage = "https://github.com/bdraco/fnv-hash-fast"; changelog = "https://github.com/bdraco/fnv-hash-fast/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; };}