python3Packages.atomicwrites: migrate to pyproject

This commit is contained in:
Harinn
2026-06-03 21:21:46 +07:00
parent d06655dd2b
commit a888e68eef
@@ -3,18 +3,21 @@
buildPythonPackage,
fetchPypi,
pytest,
setuptools,
}:
buildPythonPackage rec {
pname = "atomicwrites";
version = "1.4.1";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-gbLJBxpJNnp/dwFw5e7Iy2ZWfPu8jHPSDOXKSo1xzxE=";
};
build-system = [ setuptools ];
# Tests depend on pytest but atomicwrites is a dependency of pytest
doCheck = false;
nativeCheckInputs = [ pytest ];