python3Packages.yattag: migrate to pyproject (#534976)

This commit is contained in:
Yohann Boniface
2026-07-10 20:10:46 +00:00
committed by GitHub
@@ -2,18 +2,26 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "yattag";
version = "1.16.1";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-uqjyVOfqXT4GGCga0v9WEODlNgs2COaVwpv7OynQUfQ=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "yattag" ];
meta = {
@@ -22,4 +30,4 @@ buildPythonPackage rec {
license = lib.licenses.lgpl21Only;
maintainers = [ ];
};
}
})