python3Packages.build: 1.2.2.post1 -> 1.3.0

https://github.com/pypa/build/blob/1.3.0/CHANGELOG.rst
This commit is contained in:
Martin Weinelt
2025-08-03 22:24:46 +02:00
parent 8e3d4869a5
commit e1338b7267

View File

@@ -21,26 +21,21 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "build"; pname = "build";
version = "1.2.2.post1"; version = "1.3.0";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pypa"; owner = "pypa";
repo = "build"; repo = "build";
rev = "refs/tags/${version}"; tag = version;
hash = "sha256-PHS7CjdKo5u4VTpbo409zLQAOmslV9bX0j0S83Gdv1U="; hash = "sha256-w2YKQzni8e6rpnQJH2J0bHzRigjWOlWiI8Po5d3ZqS8=";
}; };
postPatch = '' build-system = [ flit-core ];
# not strictly required, causes circular dependency cycle
sed -i '/importlib-metadata >= 4.6/d' pyproject.toml
'';
nativeBuildInputs = [ flit-core ]; pythonRemoveDeps = [ "importlib-metadata" ];
propagatedBuildInputs = [ dependencies = [
packaging packaging
pyproject-hooks pyproject-hooks
] ]
@@ -107,7 +102,7 @@ buildPythonPackage rec {
is a simple build tool and does not perform any dependency management. is a simple build tool and does not perform any dependency management.
''; '';
homepage = "https://github.com/pypa/build"; homepage = "https://github.com/pypa/build";
changelog = "https://github.com/pypa/build/blob/${version}/CHANGELOG.rst"; changelog = "https://github.com/pypa/build/blob/${src.tag}/CHANGELOG.rst";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.fab ]; maintainers = [ maintainers.fab ];
teams = [ teams.python ]; teams = [ teams.python ];