From 771e2d8d0918142c265b3055f34c57c3a89fa668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Wed, 17 Sep 2014 13:35:52 +0200 Subject: [PATCH] add xvidcap to the channel for linux --- pkgs/applications/video/xvidcap/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/video/xvidcap/default.nix b/pkgs/applications/video/xvidcap/default.nix index 83b5c778f866..ade840dc0218 100644 --- a/pkgs/applications/video/xvidcap/default.nix +++ b/pkgs/applications/video/xvidcap/default.nix @@ -1,5 +1,6 @@ { stdenv, fetchurl, perl, perlXMLParser, pkgconfig, gtk -, scrollkeeper, libglade, libXmu, libX11, libXext, gettext, lame, libXfixes, libXdamage}: +, scrollkeeper, libglade, libXmu, libX11, libXext, gettext +, lame, libXfixes, libXdamage }: stdenv.mkDerivation { name = "xvidcap-1.1.7"; @@ -10,14 +11,18 @@ stdenv.mkDerivation { }; patches = [ ./xlib.patch ]; - buildInputs = [perl perlXMLParser pkgconfig gtk scrollkeeper libglade libXmu gettext lame libXdamage libXfixes libXext libX11]; + buildInputs = [ + perl perlXMLParser pkgconfig gtk scrollkeeper + libglade libXmu gettext lame libXdamage libXfixes libXext libX11 + ]; # !!! don't know why this is necessary NIX_LDFLAGS = "-lXext -lX11 -lz -lgcc_s"; - meta = { + meta = with stdenv.lib; { description = "screencast video catpuring tool"; homepage = http://xvidcap.sourceforge.net/; license = stdenv.lib.licenses.gpl2; + platforms = platforms.linux; }; }