Add molecule

This commit is contained in:
Greg Hellings
2022-10-17 11:15:23 -05:00
parent e6123ec212
commit c14cc30b5d
7 changed files with 204 additions and 1 deletions
+56
View File
@@ -0,0 +1,56 @@
{ lib, buildPythonPackage, fetchPypi, pkgs,
setuptools, setuptools-scm, setuptools-scm-git-archive, wheel,
ansible-compat,
click-help-colors,
cookiecutter,
enrich,
jsonschema,
packaging,
pluggy,
pyyaml,
}:
let
pydeps = [
ansible-compat
click-help-colors
cookiecutter
enrich
jsonschema
packaging
pluggy
pyyaml
];
in buildPythonPackage rec {
pname = "molecule";
version = "4.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-EzYvdBocgCeaKyX0mh9Vw7/DRQVMX+7c3N+SjhED4eU=";
};
meta = with lib; {
description = "A test framework for Ansible.";
homepage = "https://github.com/ansible-community/molecule";
license = licenses.mit;
maintainers = [];
};
doCheck = false;
# Gets pulled into running environments as well
propagatedBuildInputs = pydeps;
format = "pyproject";
# Only needed at the buid stage
buildInputs = [
setuptools
setuptools-scm
setuptools-scm-git-archive
wheel
];
nativeBuildInputs = with pkgs; [
];
}