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