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