2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
docutils,
|
|
|
|
}:
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rst2ansi";
|
|
|
|
version = "0.1.5";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-Gxf7mmKNQPV5M60aOqlSNGREvgaUaVCOc+lQYNoz/m8=";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ docutils ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A rst converter to ansi-decorated console output";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "rst2ansi";
|
2021-05-20 23:08:51 +00:00
|
|
|
homepage = "https://github.com/Snaipe/python-rst-to-ansi";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ vojta001 ];
|
|
|
|
};
|
|
|
|
}
|