about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/rst2ansi/default.nix
blob: 4f1ca27137a27cfcb214cdeacb5ef858d3e82bf4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildPythonPackage, fetchPypi, docutils, }:

buildPythonPackage rec {
  pname = "rst2ansi";
  version = "0.1.5";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-Gxf7mmKNQPV5M60aOqlSNGREvgaUaVCOc+lQYNoz/m8=";
  };

  propagatedBuildInputs = [ docutils ];

  meta = with lib; {
    description = "A rst converter to ansi-decorated console output";
    mainProgram = "rst2ansi";
    homepage = "https://github.com/Snaipe/python-rst-to-ansi";
    license = licenses.mit;
    maintainers = with maintainers; [ vojta001 ];
  };
}