depot/third_party/nixpkgs/pkgs/by-name/la/latexminted/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

38 lines
784 B
Nix

{ lib
, fetchPypi
, python3Packages
, latexminted
, testers
}:
python3Packages.buildPythonApplication rec {
pname = "latexminted";
version = "0.1.0b5";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-1K43rX3hs+ywMzOyeKX+GmAGUVHTDZB3Yo87dZ/uYaQ=";
};
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 ];
};
}