Files
nixpkgs/pkgs/development/python-modules/molecule/plugins.nix
Ihar Hrachyshka cca3b04b44 treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 19:01:23 +01:00

44 lines
854 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 = {
description = "Collection on molecule plugins";
homepage = "https://github.com/ansible-community/molecule-plugins";
maintainers = with lib.maintainers; [ dawidd6 ];
license = lib.licenses.mit;
};
}