python3Packages.configupdater: migrate to pyproject (#558001)

This commit is contained in:
Yohann Boniface
2026-09-25 03:49:02 +00:00
committed by GitHub

View File

@@ -2,23 +2,29 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pytestCheckHook,
pytest-cov-stub,
setuptools-scm,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "configupdater";
version = "3.2";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit version;
inherit (finalAttrs) version;
pname = "ConfigUpdater";
hash = "sha256-n9rFODHBsGKSm/OYtkm4fKMOfxpzXz+/SCBygEEGMGs=";
};
nativeBuildInputs = [ setuptools-scm ];
build-system = [
setuptools
setuptools-scm
];
pythonImportsCheck = [ "configupdater" ];
@@ -36,4 +42,4 @@ buildPythonPackage rec {
];
maintainers = with lib.maintainers; [ ris ];
};
}
})