Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 684 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, blessed 5, docopt 6, pillow 7, requests 8, pythonOlder 9}: 10 11buildPythonPackage rec { 12 pname = "pixcat"; 13 version = "0.1.4"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "657c8fe04513caecccd6086b347aa4b85db6b4c0f761b162cb9cd789abe7abb6"; 20 }; 21 22 propagatedBuildInputs = [ 23 blessed 24 docopt 25 pillow 26 requests 27 ]; 28 29 pythonImportsCheck = [ "pixcat" ]; 30 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 }; 37}