Files
nixpkgs/pkgs/development/python-modules/presenterm-export/default.nix

49 lines
932 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
ansi2html,
libtmux,
weasyprint,
dataclass-wizard,
}:
buildPythonPackage rec {
pname = "presenterm-export";
version = "0.2.7";
pyproject = true;
src = fetchPypi {
pname = "presenterm_export";
inherit version;
hash = "sha256-9TkZ52lA1l3PYs2DTgji0LDrG5kixnFffuMIfhILY1E=";
};
pythonRelaxDeps = true;
disabled = pythonOlder "3.9";
build-system = [
setuptools
];
dependencies = [
ansi2html
libtmux
weasyprint
dataclass-wizard
];
pythonImportsCheck = [ "presenterm_export" ];
meta = with lib; {
description = "PDF exporter for presenterm";
homepage = "https://github.com/mfontanini/presenterm-export";
changelog = "https://github.com/mfontanini/presenterm-export/releases/tag/v${version}";
license = licenses.bsd2;
maintainers = with maintainers; [ shivaraj-bh ];
};
}