nixpkgs/pkgs/by-name/sa/salt-lint/package.nix
genga f74dfe489e salt-lint: init at 0.9.2
salt-lint: update meta

salt-lint: update

salt-lint: update

salt-lint: update
2024-10-29 11:38:28 +03:00

44 lines
909 B
Nix

{
lib,
fetchFromGitHub,
python3Packages,
versionCheckHook,
}:
python3Packages.buildPythonApplication rec {
pname = "salt-lint";
version = "0.9.2";
pyproject = true;
src = fetchFromGitHub {
owner = "warpnet";
repo = "salt-lint";
rev = "refs/tags/v${version}";
hash = "sha256-Q/blaqDqs9gPrMfN+e1hkCi9IPMM0osPYTDsT6UODB4=";
};
build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
pathspec
pyyaml
];
nativeInputChecks = [
python3Packages.pytestCheckHook
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
meta = {
description = "Command-line utility that checks for best practices in SaltStack";
homepage = "https://salt-lint.readthedocs.io/en/latest/";
license = lib.licenses.mit;
mainProgram = "salt-lint";
maintainers = with lib.maintainers; [ genga898 ];
};
}