c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
50 lines
929 B
Nix
50 lines
929 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonRelaxDepsHook
|
|
, 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 = [
|
|
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;
|
|
};
|
|
}
|