nixpkgs/pkgs/by-name/la/latexminted/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
802 B
Nix
Raw Permalink Normal View History

2024-05-25 21:35:47 -06:00
{ lib
, fetchPypi
, python3Packages
, latexminted
, testers
}:
python3Packages.buildPythonApplication rec {
pname = "latexminted";
2024-10-30 04:35:52 -06:00
version = "0.3.0";
2024-05-25 21:35:47 -06:00
pyproject = true;
src = fetchPypi {
inherit pname version;
2024-10-30 04:35:52 -06:00
hash = "sha256-bxv7dKSnlJ5njvCgAKjRVJeoE2BluP1nx9QFZ/2JYeg=";
2024-05-25 21:35:47 -06:00
};
build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
pygments
latex2pydata
2024-09-03 16:45:40 -06:00
latexrestricted
2024-05-25 21:35:47 -06:00
];
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 ];
};
}