3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pixcat/default.nix
TilCreator J 3924c086f6
python310Packages.pixcat: init at 0.1.4 (#162556)
* python3Packages.pixcat: init at 0.1.4

* python3Packages.pixcat: add pythonImportsCheck
2022-04-20 19:17:17 +02:00

39 lines
698 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, blessed
, docopt
, pillow
, requests
, dataclasses
, pythonOlder
}:
buildPythonPackage rec {
pname = "pixcat";
version = "0.1.4";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "657c8fe04513caecccd6086b347aa4b85db6b4c0f761b162cb9cd789abe7abb6";
};
propagatedBuildInputs = [
blessed
docopt
pillow
requests
];
pythonImportsCheck = [ "pixcat" ];
meta = with lib; {
description = "Display images on a kitty terminal with optional resizing";
homepage = "https://github.com/mirukan/pixcat";
license = licenses.lgpl3;
maintainers = [ maintainers.tilcreator ];
};
}