depot/third_party/nixpkgs/pkgs/development/python-modules/molecule/plugins.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

43 lines
856 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools-scm,
python-vagrant,
docker,
}:
buildPythonPackage rec {
pname = "molecule-plugins";
version = "23.5.3";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-orFDfVMtc24/vG23pp7FM+IzSyEV/5JFoLJ3LtlzjSM=";
};
# reverse the dependency
pythonRemoveDeps = [ "molecule" ];
nativeBuildInputs = [
setuptools-scm
];
optional-dependencies = {
docker = [ docker ];
vagrant = [ python-vagrant ];
};
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;
};
}