python3Packages.cobs: migrate to pyproject (#529520)

This commit is contained in:
Yohann Boniface
2026-06-17 22:48:06 +00:00
committed by GitHub
@@ -2,18 +2,23 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "cobs";
version = "1.2.2";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-291eMhEdcnhvg9DCaSFdzWrGKbGsGWLGh4Ih87LKmNo=";
};
build-system = [ setuptools ];
checkPhase = ''
runHook preCheck
@@ -38,4 +43,4 @@ buildPythonPackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ kip93 ];
};
}
})