bd01fad0ed
In line with the Nixpkgs manual. A mechanical change, done with this command: find pkgs -name "*.nix" | \ while read f; do \ sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \ done I manually skipped some: * Descriptions starting with an abbreviation, a user name or package name * Frequently generated expressions (haskell-packages.nix)
28 lines
824 B
Nix
28 lines
824 B
Nix
{ stdenv, fetchurl, perl, perlXMLParser, pkgconfig, gtk
|
|
, scrollkeeper, libglade, libXmu, libX11, libXext, gettext
|
|
, lame, libXfixes, libXdamage }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "xvidcap-1.1.7";
|
|
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/xvidcap/xvidcap-1.1.7.tar.gz;
|
|
sha256 = "0p8rhpyhxgy37crf1xk1046z4p663jg7ww776jw92pld3s024ihm";
|
|
};
|
|
|
|
patches = [ ./xlib.patch ];
|
|
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 = with stdenv.lib; {
|
|
description = "Screencast video catpuring tool";
|
|
homepage = http://xvidcap.sourceforge.net/;
|
|
license = stdenv.lib.licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|