1{ lib
2, buildPythonPackage
3, fetchPypi
4, blessed
5, docopt
6, pillow
7, requests
8, dataclasses
9, pythonOlder
10}:
11
12buildPythonPackage rec {
13 pname = "pixcat";
14 version = "0.1.4";
15
16 disabled = pythonOlder "3.6";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "657c8fe04513caecccd6086b347aa4b85db6b4c0f761b162cb9cd789abe7abb6";
21 };
22
23 propagatedBuildInputs = [
24 blessed
25 docopt
26 pillow
27 requests
28 ];
29
30 pythonImportsCheck = [ "pixcat" ];
31
32 meta = with lib; {
33 description = "Display images on a kitty terminal with optional resizing";
34 homepage = "https://github.com/mirukan/pixcat";
35 license = licenses.lgpl3;
36 maintainers = [ maintainers.tilcreator ];
37 };
38}