lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python313Packages.pkginfo2: refactor

+7 -6
+7 -6
pkgs/development/python-modules/pkginfo2/default.nix
··· 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 5 pytestCheckHook, 6 - pythonOlder, 6 + setuptools, 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 10 pname = "pkginfo2"; 11 11 version = "30.0.0"; 12 - format = "setuptools"; 13 - 14 - disabled = pythonOlder "3.7"; 12 + pyproject = true; 15 13 16 14 src = fetchFromGitHub { 17 15 owner = "nexB"; 18 16 repo = "pkginfo2"; 19 - rev = "v${version}"; 17 + tag = "v${version}"; 20 18 hash = "sha256-E9EyaN3ncf/34vvvhRe0rwV28VrjqJo79YFgXq2lKWU="; 21 19 }; 20 + 21 + build-system = [ setuptools ]; 22 22 23 23 nativeCheckInputs = [ pytestCheckHook ]; 24 24 ··· 31 31 32 32 meta = with lib; { 33 33 description = "Query metadatdata from sdists, bdists or installed packages"; 34 - mainProgram = "pkginfo2"; 35 34 homepage = "https://github.com/nexB/pkginfo2"; 35 + changelog = "https://github.com/aboutcode-org/pkginfo2/releases/tag/${src.tag}"; 36 36 license = licenses.mit; 37 37 maintainers = with maintainers; [ fab ]; 38 + mainProgram = "pkginfo2"; 38 39 }; 39 40 }