nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 ansi2html,
7 libtmux,
8 weasyprint,
9 dataclass-wizard,
10}:
11
12buildPythonPackage rec {
13 pname = "presenterm-export";
14 version = "0.2.7";
15 pyproject = true;
16
17 src = fetchPypi {
18 pname = "presenterm_export";
19 inherit version;
20 hash = "sha256-9TkZ52lA1l3PYs2DTgji0LDrG5kixnFffuMIfhILY1E=";
21 };
22
23 pythonRelaxDeps = true;
24
25 build-system = [
26 setuptools
27 ];
28
29 dependencies = [
30 ansi2html
31 libtmux
32 weasyprint
33 dataclass-wizard
34 ];
35
36 pythonImportsCheck = [ "presenterm_export" ];
37
38 meta = {
39 description = "PDF exporter for presenterm";
40 homepage = "https://github.com/mfontanini/presenterm-export";
41 changelog = "https://github.com/mfontanini/presenterm-export/releases/tag/v${version}";
42 license = lib.licenses.bsd2;
43 maintainers = with lib.maintainers; [ shivaraj-bh ];
44 };
45}