Add molecule
This commit is contained in:
@@ -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; [
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user