1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonRelaxDepsHook 5, setuptools-scm 6, python-vagrant 7, docker 8}: 9 10buildPythonPackage rec { 11 pname = "molecule-plugins"; 12 version = "23.5.0"; 13 format = "pyproject"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-8T6gR7hlDIkmBLgbdjgryAu0riXqULI/MOgf2dWAKv8="; 18 }; 19 20 # reverse the dependency 21 pythonRemoveDeps = [ 22 "molecule" 23 ]; 24 25 nativeBuildInputs = [ 26 pythonRelaxDepsHook 27 setuptools-scm 28 ]; 29 30 passthru.optional-dependencies = { 31 docker = [ 32 docker 33 ]; 34 vagrant = [ 35 python-vagrant 36 ]; 37 }; 38 39 pythonImportsCheck = [ "molecule_plugins" ]; 40 41 # Tests require container runtimes 42 doCheck = false; 43 44 meta = with lib; { 45 description = "Collection on molecule plugins"; 46 homepage = "https://github.com/ansible-community/molecule-plugins"; 47 maintainers = with maintainers; [ dawidd6 ]; 48 license = licenses.mit; 49 }; 50}