blob: 859a84ee7d3fb7298a452bd2e829ead5eb4ec46e (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
fetchFromGitHub,
python3Packages,
versionCheckHook,
}:
python3Packages.buildPythonApplication rec {
pname = "salt-lint";
version = "0.9.2";
pyproject = true;
src = fetchFromGitHub {
owner = "warpnet";
repo = "salt-lint";
tag = "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 ];
};
}
|