diff --git a/pkgs/development/python-modules/pnglatex/default.nix b/pkgs/development/python-modules/pnglatex/default.nix new file mode 100644 index 000000000000..579eb523d10c --- /dev/null +++ b/pkgs/development/python-modules/pnglatex/default.nix @@ -0,0 +1,27 @@ +{ lib, buildPythonPackage, fetchPypi, poppler_utils, netpbm }: + +buildPythonPackage rec { + + pname = "pnglatex"; + version = "1.1"; + + 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 = "a small program that converts LaTeX snippets to png"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ GaetanLepage ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f712b02172fa..9c2fa3be3147 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32167,6 +32167,8 @@ with pkgs; pluto = callPackage ../applications/networking/cluster/pluto { }; + pnglatex = with python3Packages; toPythonApplication pnglatex; + polybar = callPackage ../applications/misc/polybar { }; polybarFull = callPackage ../applications/misc/polybar { diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4e7f2e055eed..7ed831a95adf 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7552,6 +7552,8 @@ self: super: with self; { pmw = callPackage ../development/python-modules/pmw { }; + pnglatex = callPackage ../development/python-modules/pnglatex { }; + pocket = callPackage ../development/python-modules/pocket { }; podcastparser = callPackage ../development/python-modules/podcastparser { };