tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
rstfmt: refactor
Fabian Affolter
2 years ago
12aee00d
4f28c0b7
+7
-2
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
rstfmt
default.nix
+7
-2
pkgs/development/tools/rstfmt/default.nix
···
6
6
python3.pkgs.buildPythonApplication rec {
7
7
pname = "rstfmt";
8
8
version = "0.0.13";
9
9
-
format = "pyproject";
9
9
+
pyproject = true;
10
10
11
11
src = fetchFromGitHub {
12
12
owner = "dzhu";
···
15
15
hash = "sha256-SJRA14CfoT8XMt3hMB7cLdmuLwsJnBSwhKkD1pJvQCI=";
16
16
};
17
17
18
18
-
propagatedBuildInputs = with python3.pkgs; [
18
18
+
build-system = with python3.pkgs; [
19
19
+
setuptools
20
20
+
];
21
21
+
22
22
+
dependencies = with python3.pkgs; [
19
23
black
20
24
docutils
21
25
sphinx
···
31
35
meta = with lib; {
32
36
description = "A formatter for reStructuredText";
33
37
homepage = "https://github.com/dzhu/rstfmt";
38
38
+
changelog = "https://github.com/dzhu/rstfmt/releases/tag/v${version}";
34
39
license = licenses.mit;
35
40
maintainers = with maintainers; [ fab ];
36
41
};