Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pixcat / default.nix
blob90fdae5dcf03e3713d009000a5e693c44e3bc0e2
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , blessed
5 , docopt
6 , pillow
7 , requests
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "pixcat";
13   version = "0.1.4";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     sha256 = "657c8fe04513caecccd6086b347aa4b85db6b4c0f761b162cb9cd789abe7abb6";
20   };
22   propagatedBuildInputs = [
23     blessed
24     docopt
25     pillow
26     requests
27   ];
29   pythonImportsCheck = [ "pixcat" ];
31   meta = with lib; {
32     description = "Display images on a kitty terminal with optional resizing";
33     homepage = "https://github.com/mirukan/pixcat";
34     license = licenses.lgpl3;
35     maintainers = [ maintainers.tilcreator ];
36   };