1{ lib 2, buildPythonPackage 3, pytestCheckHook 4, fetchFromGitHub 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "crossplane"; 10 version = "0.5.8"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchFromGitHub { 16 owner = "nginxinc"; 17 repo = "crossplane"; 18 rev = "refs/tags/v${version}"; 19 hash = "sha256-DfIF+JvjIREi7zd5ZQ7Co/CIKC5iUeOgR/VLDPmrtTQ="; 20 }; 21 22 checkInputs = [ 23 pytestCheckHook 24 ]; 25 26 pythonImportsCheck = [ 27 "crossplane" 28 ]; 29 30 meta = with lib; { 31 description = "NGINX configuration file parser and builder"; 32 homepage = "https://github.com/nginxinc/crossplane"; 33 license = licenses.asl20; 34 maintainers = with maintainers; [ kaction ]; 35 }; 36}