nixpkgs/pkgs/tools/misc/ttygif/default.nix

24 lines
569 B
Nix
Raw Normal View History

2019-10-12 00:51:51 +01:00
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "ttygif";
2020-05-10 20:58:03 +01:00
version = "1.5.0";
2019-10-12 00:51:51 +01:00
src = fetchFromGitHub {
owner = "icholy";
repo = pname;
rev = version;
2020-05-10 20:58:03 +01:00
sha256 = "1w9c3h6hik2gglwsw8ww63piy66i4zqr3273wh5rc9r2awiwh643";
2019-10-12 00:51:51 +01:00
};
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with stdenv.lib; {
homepage = "https://github.com/icholy/ttygif";
description = "Convert terminal recordings to animated gifs";
platforms = platforms.linux;
license = licenses.mit;
maintainers = with maintainers; [ moaxcp ];
};
}