2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, libsixel, yasm
|
2016-06-11 23:15:13 +01:00
|
|
|
}:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2016-06-11 23:15:13 +01:00
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ffmpeg-sixel";
|
2016-06-11 23:15:13 +01:00
|
|
|
version = "nightly-2.3.x";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "saitoha";
|
|
|
|
repo = "FFmpeg-SIXEL";
|
|
|
|
rev = "8566fdb8b7516b54aed58f329dc216e06fc10052";
|
|
|
|
sha256 = "00s2lggfdj2ibpngpyqqg7360p7yb69ys1ppg59yvv0m0mxk5x3k";
|
|
|
|
};
|
|
|
|
|
2017-09-14 20:24:37 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2016-06-11 23:15:13 +01:00
|
|
|
buildInputs = [
|
|
|
|
libsixel
|
|
|
|
yasm
|
|
|
|
];
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
./configure --enable-libsixel --prefix=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/bin/ffmpeg $out/bin/ffmpeg-sixel
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A complete, cross-platform solution to record, convert and stream audio and video, extended to support console graphics";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.ffmpeg.org/";
|
2016-06-11 23:15:13 +01:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ vrthra ];
|
|
|
|
};
|
|
|
|
}
|