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
-
{ lib
2
-
, stdenv
3
-
, buildPythonPackage
4
-
, docutils
5
-
, fetchFromGitHub
6
-
, importlib-metadata
7
-
, mock
8
-
, pydantic
9
-
, pytest-mock
10
-
, pytestCheckHook
11
-
, pythonOlder
12
-
, setuptools
13
-
, setuptools-scm
14
-
, typing-extensions
0
15
}:
16
17
buildPythonPackage rec {
···
37
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-strict-prototypes";
38
};
39
40
-
dependencies = [
41
-
docutils
42
-
pydantic
43
-
] ++ lib.optionals (pythonOlder "3.9") [
44
-
importlib-metadata
45
-
typing-extensions
46
-
];
0
0
47
48
nativeCheckInputs = [
49
mock
···
56
"test_check_yaml_returns_error_on_bad_code_block"
57
];
58
59
-
pythonImportsCheck = [
60
-
"rstcheck_core"
61
-
];
62
63
meta = with lib; {
64
description = "Library for checking syntax of reStructuredText";
···
1
+
{
2
+
lib,
3
+
stdenv,
4
+
buildPythonPackage,
5
+
docutils,
6
+
fetchFromGitHub,
7
+
importlib-metadata,
8
+
mock,
9
+
pydantic,
10
+
pytest-mock,
11
+
pytestCheckHook,
12
+
pythonOlder,
13
+
setuptools,
14
+
setuptools-scm,
15
+
typing-extensions,
16
}:
17
18
buildPythonPackage rec {
···
38
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-strict-prototypes";
39
};
40
41
+
dependencies =
42
+
[
43
+
docutils
44
+
pydantic
45
+
]
46
+
++ lib.optionals (pythonOlder "3.9") [
47
+
importlib-metadata
48
+
typing-extensions
49
+
];
50
51
nativeCheckInputs = [
52
mock
···
59
"test_check_yaml_returns_error_on_bad_code_block"
60
];
61
62
+
pythonImportsCheck = [ "rstcheck_core" ];
0
0
63
64
meta = with lib; {
65
description = "Library for checking syntax of reStructuredText";