blob: b8c82e86f4712c861c99b01093964ed1241db9cf (
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
|
{
lib,
buildPythonPackage,
jinja2,
setuptools,
fetchFromGitHub,
rich,
versionCheckHook,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "j2lint";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "aristanetworks";
repo = "j2lint";
rev = "v${version}";
hash = "sha256-/3hd2RnyxX4CsqWvsmGB/5QoeQIsFhtG3nntHer0or8=";
};
build-system = [ setuptools ];
dependencies = [
jinja2
rich
];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
versionCheckHook
];
meta = {
homepage = "https://github.com/aristanetworks/j2lint";
description = "Jinja2 Linter CLI";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ polyfloyd ];
};
}
|