From 8508563a5ece91cf7adeba89fc38f435494c834b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 19 Jan 2025 21:15:26 +0100 Subject: [PATCH] python3Packages.fnv-hash-fast: 1.0.2 -> 1.2.2 https://github.com/bdraco/fnv-hash-fast/blob/v1.2.2/CHANGELOG.md --- pkgs/development/python-modules/fnv-hash-fast/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/fnv-hash-fast/default.nix b/pkgs/development/python-modules/fnv-hash-fast/default.nix index eae74526e963..8e12a679cbba 100644 --- a/pkgs/development/python-modules/fnv-hash-fast/default.nix +++ b/pkgs/development/python-modules/fnv-hash-fast/default.nix @@ -6,20 +6,21 @@ poetry-core, setuptools, fnvhash, + pytest-codspeed, pytest-cov-stub, pytestCheckHook, }: buildPythonPackage rec { pname = "fnv-hash-fast"; - version = "1.0.2"; + version = "1.2.2"; pyproject = true; src = fetchFromGitHub { owner = "bdraco"; repo = "fnv-hash-fast"; tag = "v${version}"; - hash = "sha256-kJQZnj1ja7cVZSDOuUI3rkNIvyH508wFKAvJ5XfwCNU="; + hash = "sha256-A7DLw9Y+iz1cwkBKEFXQDzaiKHxNYaExzCzR8XRGli0="; }; build-system = [ @@ -33,6 +34,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "fnv_hash_fast" ]; nativeCheckInputs = [ + pytest-codspeed pytest-cov-stub pytestCheckHook ]; @@ -40,7 +42,7 @@ buildPythonPackage rec { 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.rev}/CHANGELOG.md"; + changelog = "https://github.com/bdraco/fnv-hash-fast/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; };