depot/third_party/nixpkgs/pkgs/development/python-modules/molecule/plugins.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

50 lines
929 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonRelaxDepsHook
, setuptools-scm
, python-vagrant
, docker
}:
buildPythonPackage rec {
pname = "molecule-plugins";
version = "23.5.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-8T6gR7hlDIkmBLgbdjgryAu0riXqULI/MOgf2dWAKv8=";
};
# reverse the dependency
pythonRemoveDeps = [
"molecule"
];
nativeBuildInputs = [
pythonRelaxDepsHook
setuptools-scm
];
passthru.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;
};
}