tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.chevron: modernize
Wolfgang Walther
11 months ago
9db9840a
cb9a1850
+11
-6
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
chevron
default.nix
+11
-6
pkgs/development/python-modules/chevron/default.nix
···
1
1
{
2
2
-
lib,
3
2
buildPythonPackage,
4
3
fetchFromGitHub,
4
4
+
lib,
5
5
python,
6
6
+
setuptools,
6
7
}:
7
8
8
9
buildPythonPackage {
9
10
pname = "chevron";
10
11
version = "0.14.0-unstable-2021-03-21";
11
11
-
format = "setuptools";
12
12
+
pyproject = true;
12
13
13
14
# No tests available in the PyPI tarball
14
15
src = fetchFromGitHub {
15
16
owner = "noahmorrison";
16
17
repo = "chevron";
17
18
rev = "5e1c12827b7fc3db30cb3b24cae9a7ee3092822b";
18
18
-
sha256 = "sha256-44cxkliJJ+IozmhS4ekbb+pCa7tcUuX9tRNYTK0mC+w=";
19
19
+
hash = "sha256-44cxkliJJ+IozmhS4ekbb+pCa7tcUuX9tRNYTK0mC+w=";
19
20
};
20
21
22
22
+
build-system = [
23
23
+
setuptools
24
24
+
];
25
25
+
21
26
checkPhase = ''
22
27
${python.interpreter} test_spec.py
23
28
'';
24
29
25
25
-
meta = with lib; {
30
30
+
meta = {
26
31
homepage = "https://github.com/noahmorrison/chevron";
27
32
description = "Python implementation of the mustache templating language";
28
33
mainProgram = "chevron";
29
29
-
license = licenses.mit;
30
30
-
maintainers = with maintainers; [ dhkl ];
34
34
+
license = lib.licenses.mit;
35
35
+
maintainers = with lib.maintainers; [ dhkl ];
31
36
};
32
37
}