depot/third_party/nixpkgs/pkgs/development/python-modules/pixcat/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

40 lines
747 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
blessed,
docopt,
pillow,
requests,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pixcat";
version = "0.1.4";
format = "setuptools";
disabled = pythonOlder "3.7";
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";
mainProgram = "pixcat";
homepage = "https://github.com/mirukan/pixcat";
license = licenses.lgpl3;
maintainers = [ maintainers.tilcreator ];
};
}