tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python311Packages.jinja2-git: refactor
natsukium
2 years ago
ab78f552
92c6003a
+10
-1
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
jinja2-git
default.nix
+10
-1
pkgs/development/python-modules/jinja2-git/default.nix
reviewed
···
1
1
{ lib
2
2
, buildPythonPackage
3
3
, fetchFromGitHub
4
4
+
, pythonOlder
4
5
, jinja2
5
6
, poetry-core
6
7
}:
···
8
9
buildPythonPackage rec {
9
10
pname = "jinja2-git";
10
11
version = "1.3.0";
11
11
-
format = "pyproject";
12
12
+
pyproject = true;
13
13
+
14
14
+
disabled = pythonOlder "3.7";
12
15
13
16
src = fetchFromGitHub {
14
17
owner = "wemake-services";
···
18
21
};
19
22
20
23
nativeBuildInputs = [ poetry-core ];
24
24
+
21
25
propagatedBuildInputs = [ jinja2 ];
26
26
+
27
27
+
# the tests need to be run on the git repository
28
28
+
doCheck = false;
29
29
+
22
30
pythonImportsCheck = [ "jinja2_git" ];
23
31
24
32
meta = with lib; {
25
33
homepage = "https://github.com/wemake-services/jinja2-git";
26
34
description = "Jinja2 extension to handle git-specific things";
35
35
+
changelog = "https://github.com/wemake-services/jinja2-git/blob/${src.rev}/CHANGELOG.md";
27
36
license = licenses.mit;
28
37
maintainers = with maintainers; [ cpcloud ];
29
38
};