2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
blessed,
|
|
|
|
docopt,
|
|
|
|
pillow,
|
|
|
|
requests,
|
|
|
|
pythonOlder,
|
2022-04-27 09:35:20 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pixcat";
|
|
|
|
version = "0.1.4";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "pixcat";
|
2022-04-27 09:35:20 +00:00
|
|
|
homepage = "https://github.com/mirukan/pixcat";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = [ maintainers.tilcreator ];
|
|
|
|
};
|
|
|
|
}
|