Unverified Commit 23fae009 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #301482 from fabaff/rst2html5-bump

rst2html5: 2.0 -> 2.0.1
parents 35bd6297 f8565279
Loading
Loading
Loading
Loading
+20 −8
Original line number Diff line number Diff line
{ lib, python3Packages, fetchPypi }:
{
  lib,
  python3,
  fetchPypi,
}:

python3Packages.buildPythonPackage rec {
python3.pkgs.buildPythonPackage rec {
  pname = "rst2html5";
  version = "2.0";
  version = "2.0.1";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-Ejjja/fm6wXTf9YtjCYZsNDB8X5oAtyPoUIsYFDuZfc=";
    hash = "sha256-MJmYyF+rAo8vywGizNyIbbCvxDmCYueVoC6pxNDzKuk=";
  };

  buildInputs = with python3Packages; [
  build-system = with python3.pkgs; [ poetry-core ];

  dependencies = with python3.pkgs; [
    beautifulsoup4
    docutils
    genshi
    pygments
  ];

  # Tests are not shipped as PyPI releases
  doCheck = false;

  pythonImportsCheck = [ "rst2html5" ];

  meta = with lib; {
    homepage = "https://rst2html5.readthedocs.io/en/latest/";
    description = "Converts ReSTructuredText to (X)HTML5";
    mainProgram = "rst2html5";
    homepage = "https://rst2html5.readthedocs.io/";
    license = licenses.mit;
    maintainers = with maintainers; [ AndersonTorres ];
    mainProgram = "rst2html5";
  };
}