mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
15 lines
527 B
Nix
15 lines
527 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.1.0";
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/mjpeg/${name}.tar.gz";
|
|
sha256 = "01y4xpfdvd4zgv6fmcjny9mr1gbfd4y2i4adp657ydw6fqyi8kw6";
|
|
};
|
|
buildInputs = [ gtk libdv libjpeg libpng libX11 pkgconfig SDL SDL_gfx ];
|
|
}
|