nixpkgs/pkgs/tools/text/rst2html5/default.nix

25 lines
619 B
Nix
Raw Normal View History

2020-11-30 23:36:21 +03:00
{ lib, python3Packages }:
2020-11-30 23:36:21 +03:00
let
pname = "rst2html5";
2020-11-30 23:36:21 +03:00
version = "1.10.6";
in python3Packages.buildPythonPackage {
inherit pname version;
format = "wheel";
2020-11-30 23:36:21 +03:00
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-jmToDFLQODqgTycBp2J8LyoJ1Zxho9w1VdhFMzvDFkg=";
};
2020-11-30 23:36:21 +03:00
propagatedBuildInputs = with python3Packages;
[ docutils genshi pygments beautifulsoup4 ];
2020-11-30 23:36:21 +03:00
meta = with lib;{
homepage = "https://pypi.org/project/rst2html5/";
description = "Converts ReSTructuredText to (X)HTML5";
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ];
};
}