1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 docutils,
6}:
7
8buildPythonPackage rec {
9 pname = "rst2ansi";
10 version = "0.1.5";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-Gxf7mmKNQPV5M60aOqlSNGREvgaUaVCOc+lQYNoz/m8=";
16 };
17
18 propagatedBuildInputs = [ docutils ];
19
20 meta = with lib; {
21 description = "Rst converter to ansi-decorated console output";
22 mainProgram = "rst2ansi";
23 homepage = "https://github.com/Snaipe/python-rst-to-ansi";
24 license = licenses.mit;
25 maintainers = with maintainers; [ vojta001 ];
26 };
27}