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