python3Packages.j2lint: init at 1.2.0 (#442200)
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{
|
||||
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
|
||||
];
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/aristanetworks/j2lint";
|
||||
description = "Jinja2 Linter CLI";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ polyfloyd ];
|
||||
};
|
||||
}
|
||||
@@ -14864,6 +14864,8 @@ with pkgs;
|
||||
|
||||
j2cli = with python311Packages; toPythonApplication j2cli;
|
||||
|
||||
j2lint = with python3Packages; toPythonApplication j2lint;
|
||||
|
||||
kmonad = haskellPackages.kmonad.bin;
|
||||
|
||||
# In general we only want keep the last three minor versions around that
|
||||
|
||||
@@ -7323,6 +7323,8 @@ self: super: with self; {
|
||||
|
||||
j2cli = callPackage ../development/python-modules/j2cli { };
|
||||
|
||||
j2lint = callPackage ../development/python-modules/j2lint { };
|
||||
|
||||
jaconv = callPackage ../development/python-modules/jaconv { };
|
||||
|
||||
jalali-core = callPackage ../development/python-modules/jalali-core { };
|
||||
|
||||
Reference in New Issue
Block a user