Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

rstfmt: refactor

+7 -2
+7 -2
pkgs/development/tools/rstfmt/default.nix
··· 6 python3.pkgs.buildPythonApplication rec { 7 pname = "rstfmt"; 8 version = "0.0.13"; 9 - format = "pyproject"; 10 11 src = fetchFromGitHub { 12 owner = "dzhu"; ··· 15 hash = "sha256-SJRA14CfoT8XMt3hMB7cLdmuLwsJnBSwhKkD1pJvQCI="; 16 }; 17 18 - propagatedBuildInputs = with python3.pkgs; [ 19 black 20 docutils 21 sphinx ··· 31 meta = with lib; { 32 description = "A formatter for reStructuredText"; 33 homepage = "https://github.com/dzhu/rstfmt"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ fab ]; 36 };
··· 6 python3.pkgs.buildPythonApplication rec { 7 pname = "rstfmt"; 8 version = "0.0.13"; 9 + pyproject = true; 10 11 src = fetchFromGitHub { 12 owner = "dzhu"; ··· 15 hash = "sha256-SJRA14CfoT8XMt3hMB7cLdmuLwsJnBSwhKkD1pJvQCI="; 16 }; 17 18 + build-system = with python3.pkgs; [ 19 + setuptools 20 + ]; 21 + 22 + dependencies = with python3.pkgs; [ 23 black 24 docutils 25 sphinx ··· 35 meta = with lib; { 36 description = "A formatter for reStructuredText"; 37 homepage = "https://github.com/dzhu/rstfmt"; 38 + changelog = "https://github.com/dzhu/rstfmt/releases/tag/v${version}"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ fab ]; 41 };