bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
35 lines
663 B
Nix
35 lines
663 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
poppler_utils,
|
|
netpbm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pnglatex";
|
|
version = "1.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-CZUGDUkmttO0BzFYbGFSNMPkWzFC/BW4NmAeOwz4Y9M=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
poppler_utils
|
|
netpbm
|
|
];
|
|
|
|
# There are no tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/MaT1g3R/pnglatex";
|
|
description = "Small program that converts LaTeX snippets to png";
|
|
mainProgram = "pnglatex";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ GaetanLepage ];
|
|
};
|
|
}
|