diff options
author | Rahul Gopinath <rahul@gopinath.org> | 2016-06-11 15:15:13 -0700 |
---|---|---|
committer | Rahul Gopinath <rahul@gopinath.org> | 2016-06-12 16:23:25 -0700 |
commit | 4227aa2c4feccbdb79058836c82c409af292c07f (patch) | |
tree | 1610563e2d53183a773862742b08a7b694300908 /pkgs/development/libraries/ffmpeg-sixel | |
parent | 96066935f27330fef376202482d495f55e57f0f6 (diff) | |
download | nixpkgs-4227aa2c4feccbdb79058836c82c409af292c07f.tar nixpkgs-4227aa2c4feccbdb79058836c82c409af292c07f.tar.gz nixpkgs-4227aa2c4feccbdb79058836c82c409af292c07f.tar.bz2 nixpkgs-4227aa2c4feccbdb79058836c82c409af292c07f.tar.lz nixpkgs-4227aa2c4feccbdb79058836c82c409af292c07f.tar.xz nixpkgs-4227aa2c4feccbdb79058836c82c409af292c07f.tar.zst nixpkgs-4227aa2c4feccbdb79058836c82c409af292c07f.zip |
ffmpeg-sixel: init at nightly-2.3.x
Diffstat (limited to 'pkgs/development/libraries/ffmpeg-sixel')
-rw-r--r-- | pkgs/development/libraries/ffmpeg-sixel/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ffmpeg-sixel/default.nix b/pkgs/development/libraries/ffmpeg-sixel/default.nix new file mode 100644 index 00000000000..dced5582cf6 --- /dev/null +++ b/pkgs/development/libraries/ffmpeg-sixel/default.nix @@ -0,0 +1,37 @@ +{ stdenv, fetchFromGitHub, pkgconfig, perl, libsixel, yasm +}: + +stdenv.mkDerivation rec { + + name = "ffmpeg-sixel-${version}"; + version = "nightly-2.3.x"; + + src = fetchFromGitHub { + owner = "saitoha"; + repo = "FFmpeg-SIXEL"; + rev = "8566fdb8b7516b54aed58f329dc216e06fc10052"; + sha256 = "00s2lggfdj2ibpngpyqqg7360p7yb69ys1ppg59yvv0m0mxk5x3k"; + }; + + buildInputs = [ + pkgconfig + 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"; + homepage = http://www.ffmpeg.org/; + license = licenses.lgpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ vrthra ]; + }; +} |