Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
736 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
pytestCheckHook,
fetchFromGitHub,
pythonOlder,
}:
buildPythonPackage rec {
pname = "crossplane";
version = "0.5.8";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "nginxinc";
repo = "crossplane";
tag = "v${version}";
hash = "sha256-DfIF+JvjIREi7zd5ZQ7Co/CIKC5iUeOgR/VLDPmrtTQ=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "crossplane" ];
meta = with lib; {
description = "NGINX configuration file parser and builder";
mainProgram = "crossplane";
homepage = "https://github.com/nginxinc/crossplane";
license = licenses.asl20;
maintainers = with maintainers; [ kaction ];
};
}