2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
setuptools-scm,
|
|
|
|
python-vagrant,
|
|
|
|
docker,
|
2023-10-09 19:29:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "molecule-plugins";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "23.5.3";
|
2023-10-09 19:29:22 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-orFDfVMtc24/vG23pp7FM+IzSyEV/5JFoLJ3LtlzjSM=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# reverse the dependency
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonRemoveDeps = [ "molecule" ];
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
2024-10-04 16:56:33 +00:00
|
|
|
optional-dependencies = {
|
2024-06-05 15:53:02 +00:00
|
|
|
docker = [ docker ];
|
|
|
|
vagrant = [ python-vagrant ];
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "molecule_plugins" ];
|
|
|
|
|
|
|
|
# Tests require container runtimes
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Collection on molecule plugins";
|
|
|
|
homepage = "https://github.com/ansible-community/molecule-plugins";
|
|
|
|
maintainers = with maintainers; [ dawidd6 ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|