nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

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

python312Packages.versiontag: modernize

+5 -2
+5 -2
pkgs/development/python-modules/versiontag/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 + setuptools, 5 6 git, 6 7 }: 7 8 8 9 buildPythonPackage rec { 9 10 pname = "versiontag"; 10 11 version = "1.2.0"; 11 - format = "setuptools"; 12 + pyproject = true; 12 13 13 14 src = fetchFromGitHub { 14 15 owner = "thelabnyc"; ··· 20 19 21 20 postPatch = '' 22 21 substituteInPlace setup.py \ 23 - --replace "get_version(pypi=True)" '"${version}"' 22 + --replace-fail "get_version(pypi=True)" '"${version}"' 24 23 ''; 24 + 25 + build-system = [ setuptools ]; 25 26 26 27 nativeCheckInputs = [ git ]; 27 28