mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #132253 from AndersonTorres/new-rst2html5
rst2html5: 1.10.6 -> 2.0
This commit is contained in:
commit
c35231dfc3
1 changed files with 11 additions and 10 deletions
|
@ -1,22 +1,23 @@
|
|||
{ lib, python3Packages }:
|
||||
|
||||
let
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "rst2html5";
|
||||
version = "1.10.6";
|
||||
format = "wheel";
|
||||
in python3Packages.buildPythonPackage {
|
||||
inherit pname version format;
|
||||
version = "2.0";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version format;
|
||||
sha256 = "sha256-jmToDFLQODqgTycBp2J8LyoJ1Zxho9w1VdhFMzvDFkg=";
|
||||
inherit pname version;
|
||||
hash = "sha256-Ejjja/fm6wXTf9YtjCYZsNDB8X5oAtyPoUIsYFDuZfc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages;
|
||||
[ docutils genshi pygments beautifulsoup4 ];
|
||||
buildInputs = with python3Packages; [
|
||||
beautifulsoup4
|
||||
docutils
|
||||
genshi
|
||||
pygments
|
||||
];
|
||||
|
||||
meta = with lib;{
|
||||
homepage = "https://pypi.org/project/rst2html5/";
|
||||
homepage = "https://rst2html5.readthedocs.io/en/latest/";
|
||||
description = "Converts ReSTructuredText to (X)HTML5";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
|
|
Loading…
Reference in a new issue