1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 poppler-utils,
6 netpbm,
7}:
8
9buildPythonPackage rec {
10
11 pname = "pnglatex";
12 version = "1.1";
13 format = "setuptools";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-CZUGDUkmttO0BzFYbGFSNMPkWzFC/BW4NmAeOwz4Y9M=";
18 };
19
20 propagatedBuildInputs = [
21 poppler-utils
22 netpbm
23 ];
24
25 # There are no tests
26 doCheck = false;
27
28 meta = with lib; {
29 homepage = "https://github.com/MaT1g3R/pnglatex";
30 description = "Small program that converts LaTeX snippets to png";
31 mainProgram = "pnglatex";
32 license = licenses.gpl3Plus;
33 maintainers = with maintainers; [ GaetanLepage ];
34 };
35}