Files
nixpkgs/pkgs/development/python-modules/crossplane/default.nix
Yohann Boniface 3d4036773f crossplane: set __structuredAttrs
Co-authored-by: Gaétan Lepage <gaetan@glepage.com>
2026-08-01 23:50:04 +02:00

36 lines
778 B
Nix

{
lib,
buildPythonPackage,
pytestCheckHook,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "crossplane";
version = "0.5.8";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "nginxinc";
repo = "crossplane";
tag = "v${finalAttrs.version}";
hash = "sha256-DfIF+JvjIREi7zd5ZQ7Co/CIKC5iUeOgR/VLDPmrtTQ=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "crossplane" ];
meta = {
description = "NGINX configuration file parser and builder";
mainProgram = "crossplane";
homepage = "https://github.com/nginxinc/crossplane";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ kaction ];
};
})