depot/third_party/nixpkgs/pkgs/by-name/la/latexminted/package.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

39 lines
802 B
Nix

{ lib
, fetchPypi
, python3Packages
, latexminted
, testers
}:
python3Packages.buildPythonApplication rec {
pname = "latexminted";
version = "0.2.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-vJziNgVYcnJfmAnok2OeYZEOwGtGfhZyup3D3+BuZsU=";
};
build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
pygments
latex2pydata
latexrestricted
];
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 ];
};
}