python312Packages.fnv-hash-fast: 0.5.0 -> 1.0.2
Diff: https://github.com/bdraco/fnv-hash-fast/compare/v0.5.0...v1.0.2 Changelog: https://github.com/bdraco/fnv-hash-fast/blob/v1.0.2/CHANGELOG.md
This commit is contained in:
@@ -5,40 +5,37 @@
|
||||
cython,
|
||||
poetry-core,
|
||||
setuptools,
|
||||
wheel,
|
||||
fnvhash,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fnv-hash-fast";
|
||||
version = "0.5.0";
|
||||
format = "pyproject";
|
||||
version = "1.0.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bdraco";
|
||||
repo = "fnv-hash-fast";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-gAHCssJC6sTR6ftkQHrtF/5Nf9dXE4ykRhVusb0Gu3I=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-kJQZnj1ja7cVZSDOuUI3rkNIvyH508wFKAvJ5XfwCNU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "--cov=fnv_hash_fast --cov-report=term-missing:skip-covered" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
cython
|
||||
poetry-core
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ fnvhash ];
|
||||
dependencies = [ fnvhash ];
|
||||
|
||||
pythonImportsCheck = [ "fnv_hash_fast" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast version of fnv1a";
|
||||
|
||||
Reference in New Issue
Block a user