f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
42 lines
901 B
Nix
42 lines
901 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
setuptools,
|
|
|
|
# dependencies
|
|
typing-extensions,
|
|
pillow,
|
|
jinja2,
|
|
unidecode,
|
|
}:
|
|
buildPythonPackage {
|
|
pname = "plasTeX";
|
|
version = "3.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "plastex";
|
|
owner = "plastex";
|
|
rev = "193747318f7ebadd19eaaa1e9996da42a31a2697"; # The same as what is published on PyPi for version 3.1. See <https://github.com/plastex/plastex/issues/386>
|
|
hash = "sha256-Muuin7n0aPOZwlUaB32pONy5eyIjtPNb4On5gC9wOcQ=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
typing-extensions
|
|
pillow
|
|
jinja2
|
|
unidecode
|
|
];
|
|
|
|
meta = {
|
|
description = "plasTeX is a Python package to convert LaTeX markup to DOM";
|
|
homepage = "https://plastex.github.io/plastex/";
|
|
maintainers = with lib.maintainers; [ niklashh ];
|
|
license = lib.licenses.asl20;
|
|
};
|
|
}
|