mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
gif-for-cli: init at unstable-2018-08-14
This commit is contained in:
parent
bf60f8d566
commit
cf97a0372f
|
@ -10,11 +10,13 @@ buildPythonPackage rec {
|
|||
sha256 = "00g02b9a6jsl377xb5fmxvkjff3lalw21n430a4zalqyv76dnmgq";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Return the nearest xterm 256 color code for rgb inputs.";
|
||||
description = "Find the nearest xterm 256 color index for an RGB";
|
||||
homepage = https://github.com/magarcia/python-x256;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ scriptkiddi ];
|
||||
maintainers = with maintainers; [ Scriptkiddi ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
26
pkgs/tools/misc/gif-for-cli/default.nix
Normal file
26
pkgs/tools/misc/gif-for-cli/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
|
||||
}
|
|
@ -1434,6 +1434,8 @@ in
|
|||
|
||||
gh-ost = callPackage ../tools/misc/gh-ost { };
|
||||
|
||||
gif-for-cli = callPackage ../tools/misc/gif-for-cli { };
|
||||
|
||||
gist = callPackage ../tools/text/gist { };
|
||||
|
||||
gixy = callPackage ../tools/admin/gixy { };
|
||||
|
|
Loading…
Reference in a new issue