diff options
author | Fritz Otlinghaus <fritz.otlinghaus@stuvus.uni-stuttgart.de> | 2018-12-15 18:35:35 +0800 |
---|---|---|
committer | Fritz Otlinghaus <fritz@otlinghaus.it> | 2018-12-29 18:57:18 +0800 |
commit | cf97a0372f50b5bc2375e0d86c6e74689b0fa867 (patch) | |
tree | 76e9cd24b33d4639211d1501c403494b2505b92e /pkgs/tools/misc/gif-for-cli | |
parent | bf60f8d566a85aef39137357cddc09c2473adfad (diff) |
gif-for-cli: init at unstable-2018-08-14
Diffstat (limited to 'pkgs/tools/misc/gif-for-cli')
-rw-r--r-- | pkgs/tools/misc/gif-for-cli/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/misc/gif-for-cli/default.nix b/pkgs/tools/misc/gif-for-cli/default.nix new file mode 100644 index 0000000000000..b8b86e07abb0f --- /dev/null +++ b/pkgs/tools/misc/gif-for-cli/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, python3Packages, ffmpeg, zlib, libjpeg }: + +python3Packages.buildPythonApplication rec { + pname = "gif-for-cli"; + version = "unstable-2018-08-14"; + + src = fetchFromGitHub { + owner = "google"; + repo = "gif-for-cli"; + rev = "9696f25fea2e38499b7c248a3151030c3c68bb00"; + sha256 = "1rj8wjfsabn27k1ds7a5fdqgf2r28zpz4lvhbzssjfj1yf0mfh7s"; + }; + + checkInputs = [ python3Packages.coverage ]; + buildInputs = [ ffmpeg zlib libjpeg ]; + 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."; + homepage = https://github.com/google/gif-for-cli; + license = licenses.asl20; + maintainers = with maintainers; [ Scriptkiddi ]; + }; + +} |