From 894459e68fe53bcdcac697d79959c3097f61637b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo?= Date: Sun, 26 May 2024 00:35:47 -0300 Subject: [PATCH] latexminted: init at 0.1.0b2 --- pkgs/by-name/la/latexminted/package.nix | 38 +++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pkgs/by-name/la/latexminted/package.nix diff --git a/pkgs/by-name/la/latexminted/package.nix b/pkgs/by-name/la/latexminted/package.nix new file mode 100644 index 000000000000..c1c391c51144 --- /dev/null +++ b/pkgs/by-name/la/latexminted/package.nix @@ -0,0 +1,38 @@ +{ lib +, fetchPypi +, python3Packages +, latexminted +, testers +}: + +python3Packages.buildPythonApplication rec { + pname = "latexminted"; + version = "0.1.0b2"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-Yl/2zvNMYuYkwR5tDZ0vhBLO964GBUx1DeyLK/Q3T5c="; + }; + + build-system = with python3Packages; [ + setuptools + ]; + + dependencies = with python3Packages; [ + pygments + latex2pydata + ]; + + passthru = { + tests.version = testers.testVersion { package = latexminted; }; + }; + + meta = { + description = "Python executable for LaTeX minted package"; + homepage = "https://pypi.org/project/latexminted"; + license = lib.licenses.lppl13c; + mainProgram = "latexminted"; + maintainers = with lib.maintainers; [ romildo ]; + }; +}