mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
f74dfe489e
salt-lint: update meta salt-lint: update salt-lint: update salt-lint: update
44 lines
909 B
Nix
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 ];
|
|
};
|
|
}
|