tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.rstcheck-core: use nixfmt
Fabian Affolter
2 years ago
3b0f012e
034fa641
+25
-24
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
rstcheck-core
default.nix
+25
-24
pkgs/development/python-modules/rstcheck-core/default.nix
···
1
1
-
{ lib
2
2
-
, stdenv
3
3
-
, buildPythonPackage
4
4
-
, docutils
5
5
-
, fetchFromGitHub
6
6
-
, importlib-metadata
7
7
-
, mock
8
8
-
, pydantic
9
9
-
, pytest-mock
10
10
-
, pytestCheckHook
11
11
-
, pythonOlder
12
12
-
, setuptools
13
13
-
, setuptools-scm
14
14
-
, typing-extensions
1
1
+
{
2
2
+
lib,
3
3
+
stdenv,
4
4
+
buildPythonPackage,
5
5
+
docutils,
6
6
+
fetchFromGitHub,
7
7
+
importlib-metadata,
8
8
+
mock,
9
9
+
pydantic,
10
10
+
pytest-mock,
11
11
+
pytestCheckHook,
12
12
+
pythonOlder,
13
13
+
setuptools,
14
14
+
setuptools-scm,
15
15
+
typing-extensions,
15
16
}:
16
17
17
18
buildPythonPackage rec {
···
37
38
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-strict-prototypes";
38
39
};
39
40
40
40
-
dependencies = [
41
41
-
docutils
42
42
-
pydantic
43
43
-
] ++ lib.optionals (pythonOlder "3.9") [
44
44
-
importlib-metadata
45
45
-
typing-extensions
46
46
-
];
41
41
+
dependencies =
42
42
+
[
43
43
+
docutils
44
44
+
pydantic
45
45
+
]
46
46
+
++ lib.optionals (pythonOlder "3.9") [
47
47
+
importlib-metadata
48
48
+
typing-extensions
49
49
+
];
47
50
48
51
nativeCheckInputs = [
49
52
mock
···
56
59
"test_check_yaml_returns_error_on_bad_code_block"
57
60
];
58
61
59
59
-
pythonImportsCheck = [
60
60
-
"rstcheck_core"
61
61
-
];
62
62
+
pythonImportsCheck = [ "rstcheck_core" ];
62
63
63
64
meta = with lib; {
64
65
description = "Library for checking syntax of reStructuredText";