2020-06-07 13:39:09 +01:00
|
|
|
{ stdenv, fetchFromGitHub, python3Packages, ffmpeg_3, zlib, libjpeg }:
|
2018-12-15 10:35:35 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
python3Packages.buildPythonApplication {
|
2018-12-15 10:35:35 +00:00
|
|
|
pname = "gif-for-cli";
|
|
|
|
version = "unstable-2018-08-14";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "gif-for-cli";
|
|
|
|
rev = "9696f25fea2e38499b7c248a3151030c3c68bb00";
|
|
|
|
sha256 = "1rj8wjfsabn27k1ds7a5fdqgf2r28zpz4lvhbzssjfj1yf0mfh7s";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ python3Packages.coverage ];
|
2020-06-07 13:39:09 +01:00
|
|
|
buildInputs = [ ffmpeg_3 zlib libjpeg ];
|
2018-12-15 10:35:35 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [ pillow requests x256 ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Render gifs as ASCII art in your cli";
|
|
|
|
longDescription = "Takes in a GIF, short video, or a query to the Tenor GIF API and converts it to animated ASCII art.";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/google/gif-for-cli";
|
2018-12-15 10:35:35 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ Scriptkiddi ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|