nixpkgs/pkgs/tools/video/mjpegtools/default.nix
Florian Friesdorf edd3c49119 mjpegtool 2.0.0 + more dependencies
svn path=/nixpkgs/trunk/; revision=27520
2011-06-22 19:01:14 +00:00

15 lines
539 B
Nix

{ stdenv, fetchurl, gtk, libdv, libjpeg, libpng, libX11, pkgconfig, SDL, SDL_gfx }:
# TODO:
# - make dependencies optional
# - libpng-apng as alternative to libpng?
# - libXxf86dga support? checking for XF86DGAQueryExtension in -lXxf86dga... no
stdenv.mkDerivation rec {
name = "mjpegtools-2.0.0";
src = fetchurl {
url = "mirror://sourceforge/mjpeg/${name}.tar.gz";
sha256 = "bf3541593e71602f7b440c2e7d81b433f53d0511e74642f35bea9b3feded7a97";
};
buildInputs = [ gtk libdv libjpeg libpng libX11 pkgconfig SDL SDL_gfx ];
}