mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 18:54:51 +00:00
36 lines
778 B
Nix
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 ];
|
|
};
|
|
})
|