From f8565279a1c8382697809d849d2fc35c8edd0585 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 10:49:10 +0200 Subject: [PATCH] rst2html5: use nixfmt --- pkgs/by-name/rs/rst2html5/package.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/rs/rst2html5/package.nix b/pkgs/by-name/rs/rst2html5/package.nix index 17e814bfea3a..988484237490 100644 --- a/pkgs/by-name/rs/rst2html5/package.nix +++ b/pkgs/by-name/rs/rst2html5/package.nix @@ -1,6 +1,7 @@ -{ lib -, python3 -, fetchPypi +{ + lib, + python3, + fetchPypi, }: python3.pkgs.buildPythonPackage rec { @@ -13,9 +14,7 @@ python3.pkgs.buildPythonPackage rec { hash = "sha256-MJmYyF+rAo8vywGizNyIbbCvxDmCYueVoC6pxNDzKuk="; }; - build-system = with python3.pkgs; [ - poetry-core - ]; + build-system = with python3.pkgs; [ poetry-core ]; dependencies = with python3.pkgs; [ beautifulsoup4 @@ -27,11 +26,9 @@ python3.pkgs.buildPythonPackage rec { # Tests are not shipped as PyPI releases doCheck = false; - pythonImportsCheck = [ - "rst2html5" - ]; + pythonImportsCheck = [ "rst2html5" ]; - meta = with lib;{ + meta = with lib; { description = "Converts ReSTructuredText to (X)HTML5"; homepage = "https://rst2html5.readthedocs.io/"; license = licenses.mit;