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 6 python3.pkgs.buildPythonApplication rec { 7 7 pname = "rstfmt"; 8 8 version = "0.0.13"; 9 - format = "pyproject"; 9 + pyproject = true; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "dzhu"; ··· 15 15 hash = "sha256-SJRA14CfoT8XMt3hMB7cLdmuLwsJnBSwhKkD1pJvQCI="; 16 16 }; 17 17 18 - propagatedBuildInputs = with python3.pkgs; [ 18 + build-system = with python3.pkgs; [ 19 + setuptools 20 + ]; 21 + 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 + changelog = "https://github.com/dzhu/rstfmt/releases/tag/v${version}"; 34 39 license = licenses.mit; 35 40 maintainers = with maintainers; [ fab ]; 36 41 };