rstfmt: refactor
This commit is contained in:
parent
e8f47291c4
commit
9094f97592
@ -1,7 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
python3,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
@ -16,11 +16,10 @@ python3.pkgs.buildPythonApplication rec {
|
||||
hash = "sha256-zvmKgNzfxyWYHoaD+q84I48r1Mpp4kU4oIGAwMSRRlA=";
|
||||
};
|
||||
|
||||
build-system = with python3.pkgs; [
|
||||
setuptools
|
||||
];
|
||||
build-system = with python3.pkgs; [ setuptools ];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
aiohttp
|
||||
black
|
||||
docutils
|
||||
sphinx
|
||||
@ -29,14 +28,12 @@ python3.pkgs.buildPythonApplication rec {
|
||||
# Project has no unittest just sample files
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rstfmt"
|
||||
];
|
||||
pythonImportsCheck = [ "rstfmt" ];
|
||||
|
||||
meta = {
|
||||
description = "Formatter for reStructuredText";
|
||||
homepage = "https://github.com/dzhu/rstfmt";
|
||||
changelog = "https://github.com/dzhu/rstfmt/releases/tag/v${version}";
|
||||
changelog = "https://github.com/dzhu/rstfmt/releases/tag/${src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "rstfmt";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user