From 8eef2ac6ef0970938c8963a08563f33bada8e7cb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Jan 2025 10:58:21 +0100 Subject: [PATCH] python312Packages.versionfinder: refactor --- .../python-modules/versionfinder/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/versionfinder/default.nix b/pkgs/development/python-modules/versionfinder/default.nix index 2672fc20f99ef..647b339f4e90f 100644 --- a/pkgs/development/python-modules/versionfinder/default.nix +++ b/pkgs/development/python-modules/versionfinder/default.nix @@ -8,23 +8,26 @@ pytestCheckHook, pythonOlder, requests, + setuptools, }: buildPythonPackage rec { pname = "versionfinder"; version = "1.1.1"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "jantman"; - repo = pname; + repo = "versionfinder"; rev = version; - sha256 = "16mvjwyhmw39l8by69dgr9b9jnl7yav36523lkh7w7pwd529pbb9"; + hash = "sha256-aa2bRGn8Hn7gpEMUM7byh1qZVsqvJeMXomnwCj2Xu5o="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ gitpython backoff ];