crossplane: migrate to pyproject (#522354)

This commit is contained in:
Gaétan Lepage
2026-08-01 22:10:46 +00:00
committed by GitHub

View File

@@ -3,20 +3,24 @@
buildPythonPackage,
pytestCheckHook,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "crossplane";
version = "0.5.8";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "nginxinc";
repo = "crossplane";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-DfIF+JvjIREi7zd5ZQ7Co/CIKC5iUeOgR/VLDPmrtTQ=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "crossplane" ];
@@ -28,4 +32,4 @@ buildPythonPackage rec {
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ kaction ];
};
}
})