mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
39 lines
784 B
Nix
39 lines
784 B
Nix
{ lib
|
|
, fetchPypi
|
|
, python3Packages
|
|
, latexminted
|
|
, testers
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "latexminted";
|
|
version = "0.1.0b9";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-QUFfoX1jv5pVQDEBGaVd1madfqbTWTJyXPh4gw7P5UE=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|