Skip to content

Commit

Permalink
python3Packages.presenterm-export: init at 0.2.5 (#350458)
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst authored Dec 16, 2024
2 parents 500a181 + 6e439af commit 613302d
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
48 changes: 48 additions & 0 deletions pkgs/development/python-modules/presenterm-export/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
ansi2html,
libtmux,
weasyprint,
dataclass-wizard,
}:

buildPythonPackage rec {
pname = "presenterm-export";
version = "0.2.5";
pyproject = true;

src = fetchPypi {
pname = "presenterm_export";
inherit version;
hash = "sha256-jof/0phASV/0bE0wNaio9PVCfIgm30EWzlLWxPMw8Rs=";
};

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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10960,6 +10960,8 @@ self: super: with self; {

preshed = callPackage ../development/python-modules/preshed { };

presenterm-export = callPackage ../development/python-modules/presenterm-export { };

pretend = callPackage ../development/python-modules/pretend { };

pretty-errors = callPackage ../development/python-modules/pretty-errors { };
Expand Down

0 comments on commit 613302d

Please sign in to comment.