mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
rst2html5: use nixfmt
This commit is contained in:
parent
c0d4e83369
commit
f8565279a1
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{
|
||||||
, python3
|
lib,
|
||||||
, fetchPypi
|
python3,
|
||||||
|
fetchPypi,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonPackage rec {
|
python3.pkgs.buildPythonPackage rec {
|
||||||
|
@ -13,9 +14,7 @@ python3.pkgs.buildPythonPackage rec {
|
||||||
hash = "sha256-MJmYyF+rAo8vywGizNyIbbCvxDmCYueVoC6pxNDzKuk=";
|
hash = "sha256-MJmYyF+rAo8vywGizNyIbbCvxDmCYueVoC6pxNDzKuk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = with python3.pkgs; [
|
build-system = with python3.pkgs; [ poetry-core ];
|
||||||
poetry-core
|
|
||||||
];
|
|
||||||
|
|
||||||
dependencies = with python3.pkgs; [
|
dependencies = with python3.pkgs; [
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
|
@ -27,11 +26,9 @@ python3.pkgs.buildPythonPackage rec {
|
||||||
# Tests are not shipped as PyPI releases
|
# Tests are not shipped as PyPI releases
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "rst2html5" ];
|
||||||
"rst2html5"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib;{
|
meta = with lib; {
|
||||||
description = "Converts ReSTructuredText to (X)HTML5";
|
description = "Converts ReSTructuredText to (X)HTML5";
|
||||||
homepage = "https://rst2html5.readthedocs.io/";
|
homepage = "https://rst2html5.readthedocs.io/";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
|
Loading…
Reference in a new issue