Files
nixpkgs/pkgs/development/python-modules/molecule/plugins.nix
T
Ihar Hrachyshka 567e8dfd8e 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 18:09:49 +01:00

44 lines
824 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 = [ ];
license = lib.licenses.mit;
};
}