From fe9480b0b89a449f044f56f04b823f37ad0d7cb2 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 5 Aug 2025 04:39:07 +0200 Subject: [PATCH] python3Packages.fnvhash: 0.1.0 -> 0.2.1 This commit was automatically generated using update-python-libraries. --- .../python-modules/fnvhash/default.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/fnvhash/default.nix b/pkgs/development/python-modules/fnvhash/default.nix index 76ec4ed770b4..1ee089150e1c 100644 --- a/pkgs/development/python-modules/fnvhash/default.nix +++ b/pkgs/development/python-modules/fnvhash/default.nix @@ -3,25 +3,33 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, + setuptools, + setuptools-scm, }: buildPythonPackage rec { pname = "fnvhash"; - version = "0.1.0"; - format = "setuptools"; + version = "0.2.1"; + pyproject = true; src = fetchFromGitHub { owner = "znerol"; repo = "py-fnvhash"; - rev = "v${version}"; - sha256 = "00h8i70qd3dpsyf2dp7fkcb9m2prd6m3l33qv3wf6idpnqgjz6fq"; + tag = "v${version}"; + hash = "sha256-vAflKSvi0PD5r1q6GCTt6a4vTCsdBIebecRCKbbBphE="; }; + build-system = [ + setuptools + setuptools-scm + ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "fnvhash" ]; meta = with lib; { + changelog = "https://github.com/znerol/py-fnvhash/releases/tag/${src.tag}"; description = "Python FNV hash implementation"; homepage = "https://github.com/znerol/py-fnvhash"; license = with licenses; [ mit ];