Files
nixpkgs/pkgs/development/python-modules/molecule/plugins.nix
Willy Hille 2f6ab4f908 python3Packages.molecule-plugins: 23.5.3 -> 25.8.12, fetch from github
fetchPypi fails for the new version, which smells like #501578
2026-06-02 16:32:31 +02:00

46 lines
895 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools-scm,
python-vagrant,
docker,
}:
buildPythonPackage rec {
pname = "molecule-plugins";
version = "25.8.12";
pyproject = true;
src = fetchFromGitHub {
owner = "ansible-community";
repo = "molecule-plugins";
tag = "v${version}";
hash = "sha256-wTvJ+cjZMTOyaqqDZsA1wsKCpu2FEi69IBlSTxNs3/M=";
};
# 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;
};
}