Files
nixos/overlays/molecule.nix
T
2022-10-17 11:15:23 -05:00

57 lines
985 B
Nix

{ 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; [
];
}