ttygif: add missing dependencies on xwd, imagemagick
This commit is contained in:
parent
a460b167f4
commit
0d758e68a2
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub }:
|
{ stdenv, fetchFromGitHub, makeWrapper, imagemagick, xorg }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ttygif";
|
pname = "ttygif";
|
||||||
@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
makeFlags = [ "CC:=$(CC)" "PREFIX=${placeholder "out"}" ];
|
makeFlags = [ "CC:=$(CC)" "PREFIX=${placeholder "out"}" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/ttygif \
|
||||||
|
--prefix PATH : ${stdenv.lib.makeBinPath [ imagemagick xorg.xwd ]}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/icholy/ttygif";
|
homepage = "https://github.com/icholy/ttygif";
|
||||||
description = "Convert terminal recordings to animated gifs";
|
description = "Convert terminal recordings to animated gifs";
|
||||||
|
Loading…
Reference in New Issue
Block a user