mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #315336 from romildo/upd.latexminted
latexminted: init at 0.1.0b2
This commit is contained in:
commit
18ef700441
38
pkgs/by-name/la/latexminted/package.nix
Normal file
38
pkgs/by-name/la/latexminted/package.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user