python312Packages.types-aiobotocore: 2.15.2 -> 2.15.2.post3 (#361801)
[NixPkgs.git] / pkgs / applications / misc / termpdf.py / default.nix
blob244bfee240329bfcb1e960f0594ea9c41956ee05
1 { lib, buildPythonApplication, fetchFromGitHub, bibtool, pybtex, pymupdf, pynvim
2 , pyperclip, roman, pdfrw, pagelabels, setuptools }:
4 buildPythonApplication {
5   pname = "termpdf.py";
6   version = "2022-03-28";
8   src = fetchFromGitHub {
9     owner = "dsanson";
10     repo = "termpdf.py";
11     rev = "e7bd0824cb7d340b8dba7d862e696dba9cb5e5e2";
12     sha256 = "HLQZBaDoZFVBs4JfJcwhrLx8pxdEI56/iTpUjT5pBhk=";
13   };
15   propagatedBuildInputs = [
16     bibtool
17     pybtex
18     pymupdf
19     pyperclip
20     roman
21     pagelabels
22     pdfrw
23     pynvim
24     setuptools
25   ];
27   # upstream doesn't contain tests
28   doCheck = false;
30   meta = with lib; {
31     description = ''
32       A graphical pdf (and epub, cbz, ...) reader that works
33       inside the kitty terminal.
34     '';
35     mainProgram = "termpdf.py";
36     homepage = "https://github.com/dsanson/termpdf.py";
37     maintainers = with maintainers; [ teto ];
38     license = licenses.mit;
39   };