Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / rs / rst2html5 / package.nix
blob988484237490ad6ebccae27f1a34833d9c3c1a6f
2   lib,
3   python3,
4   fetchPypi,
5 }:
7 python3.pkgs.buildPythonPackage rec {
8   pname = "rst2html5";
9   version = "2.0.1";
10   pyproject = true;
12   src = fetchPypi {
13     inherit pname version;
14     hash = "sha256-MJmYyF+rAo8vywGizNyIbbCvxDmCYueVoC6pxNDzKuk=";
15   };
17   build-system = with python3.pkgs; [ poetry-core ];
19   dependencies = with python3.pkgs; [
20     beautifulsoup4
21     docutils
22     genshi
23     pygments
24   ];
26   # Tests are not shipped as PyPI releases
27   doCheck = false;
29   pythonImportsCheck = [ "rst2html5" ];
31   meta = with lib; {
32     description = "Converts ReSTructuredText to (X)HTML5";
33     homepage = "https://rst2html5.readthedocs.io/";
34     license = licenses.mit;
35     maintainers = with maintainers; [ AndersonTorres ];
36     mainProgram = "rst2html5";
37   };