python3Packages.atomicwrites: migrate to pyproject (#527603)

This commit is contained in:
Fabian Affolter 2026-06-07 09:10:01 +00:00 committed by GitHub
commit c8cb42421e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,18 +3,21 @@
buildPythonPackage,
fetchPypi,
pytest,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "atomicwrites";
version = "1.4.1";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-gbLJBxpJNnp/dwFw5e7Iy2ZWfPu8jHPSDOXKSo1xzxE=";
};
build-system = [ setuptools ];
# Tests depend on pytest but atomicwrites is a dependency of pytest
doCheck = false;
nativeCheckInputs = [ pytest ];
@ -25,4 +28,4 @@ buildPythonPackage rec {
maintainers = with lib.maintainers; [ matthiasbeyer ];
license = lib.licenses.mit;
};
}
})