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