git.iko.soy/typeable/nixpkgs
on master help sign in
ffmpeg-sixel: init at nightly-2.3.x
commit4227aa2c4feccbdb79058836c82c409af292c07f authorRahul Gopinath <rahul@gopinath.org> dateSat 11 Jun 2016, 15:15 (10 years ago) parent9606693
2 files changed+39
pkgs/development/libraries/ffmpeg-sixel/default.nix+37 pkgs/top-level/all-packages.nix+2
pkgs/development/libraries/ffmpeg-sixel/default.nixnew file+37
@@ -0,0 +1,37 @@
1+{ stdenv, fetchFromGitHub, pkgconfig, perl, libsixel, yasm
2+}:
3+
4+stdenv.mkDerivation rec {
5+
6+ name = "ffmpeg-sixel-${version}";
7+ version = "nightly-2.3.x";
8+
9+ src = fetchFromGitHub {
10+ owner = "saitoha";
11+ repo = "FFmpeg-SIXEL";
12+ rev = "8566fdb8b7516b54aed58f329dc216e06fc10052";
13+ sha256 = "00s2lggfdj2ibpngpyqqg7360p7yb69ys1ppg59yvv0m0mxk5x3k";
14+ };
15+
16+ buildInputs = [
17+ pkgconfig
18+ libsixel
19+ yasm
20+ ];
21+
22+ configurePhase = ''
23+ ./configure --enable-libsixel --prefix=$out
24+ '';
25+
26+ postInstall = ''
27+ mv $out/bin/ffmpeg $out/bin/ffmpeg-sixel
28+ '';
29+
30+ meta = with stdenv.lib; {
31+ description = "A complete, cross-platform solution to record, convert and stream audio and video, extended to support console graphics";
32+ homepage = http://www.ffmpeg.org/;
33+ license = licenses.lgpl3;
34+ platforms = platforms.linux;
35+ maintainers = with maintainers; [ vrthra ];
36+ };
37+}
pkgs/top-level/all-packages.nix+2
@@ -6961,6 +6961,8 @@ in
69616961
69626962 ffmpegthumbnailer = callPackage ../development/libraries/ffmpegthumbnailer { };
69636963
6964+ ffmpeg-sixel = callPackage ../development/libraries/ffmpeg-sixel { };
6965+
69646966 ffms = callPackage ../development/libraries/ffms { };
69656967
69666968 fftw = callPackage ../development/libraries/fftw { };