python310Packages.crossplane: disable on older Python releases

authored by

Fabian Affolter and committed by
GitHub
b8157395 c0b004a2

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