Merge branch 'staging'

This commit is contained in:
Vladimír Čunát 2016-01-22 13:48:35 +01:00
commit 0957359568
54 changed files with 210 additions and 340 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchsvn, pkgconfig, autoconf, automake, gnutls33, freetype { stdenv, fetchsvn, pkgconfig, autoreconfHook, gnutls33, freetype
, SDL, SDL_gfx, SDL_ttf, liblo, libxml2, alsaLib, libjack2, libvorbis , SDL, SDL_gfx, SDL_ttf, liblo, libxml2, alsaLib, libjack2, libvorbis
, libsndfile, libogg , libsndfile, libogg
}: }:
@ -13,12 +13,10 @@ stdenv.mkDerivation {
}; };
buildInputs = [ buildInputs = [
pkgconfig autoconf automake gnutls33 freetype SDL SDL_gfx SDL_ttf pkgconfig autoreconfHook gnutls33 freetype SDL SDL_gfx SDL_ttf
liblo libxml2 libjack2 alsaLib libvorbis libsndfile libogg liblo libxml2 libjack2 alsaLib libvorbis libsndfile libogg
]; ];
preConfigure = "autoreconf -vfi";
patches = [ ./am_path_sdl.patch ./xml.patch ]; patches = [ ./am_path_sdl.patch ./xml.patch ];
meta = { meta = {

View File

@ -1,4 +1,5 @@
{ stdenv, fetchgit, automake, autoreconfHook, fftw, gettext, ladspaH, libxml2, pkgconfig, perl, perlPackages }: { stdenv, fetchgit, autoreconfHook, automake, fftw, ladspaH, libxml2, pkgconfig
, perl, perlPackages }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "swh-plugins-git-2015-03-04"; name = "swh-plugins-git-2015-03-04";
@ -9,7 +10,7 @@ stdenv.mkDerivation {
sha256 = "7d9aa13a064903b330bd52e35c1f810f1c8a253ea5eb4e5a3a69a051af03150e"; sha256 = "7d9aa13a064903b330bd52e35c1f810f1c8a253ea5eb4e5a3a69a051af03150e";
}; };
buildInputs = [ automake autoreconfHook fftw gettext ladspaH libxml2 pkgconfig perl perlPackages.XMLParser ]; buildInputs = [ autoreconfHook fftw ladspaH libxml2 pkgconfig perl perlPackages.XMLParser ];
patchPhase = '' patchPhase = ''
patchShebangs . patchShebangs .
@ -17,11 +18,6 @@ stdenv.mkDerivation {
cp ${automake}/share/automake-*/mkinstalldirs . cp ${automake}/share/automake-*/mkinstalldirs .
''; '';
configurePhase = ''
autoreconf -i
./configure --prefix=$out
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://plugin.org.uk/; homepage = http://plugin.org.uk/;
description = "LADSPA format audio plugins"; description = "LADSPA format audio plugins";

View File

@ -1,4 +1,4 @@
{ fetchcvs, stdenv, emacs, w3m, imagemagick, texinfo, autoconf }: { fetchcvs, stdenv, emacs, w3m, imagemagick, texinfo, autoreconfHook }:
let date = "2013-03-21"; in let date = "2013-03-21"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "1lmcj8rf83w13q8q68hh7sa1abc2m6j2zmfska92xdp7hslhdgc5"; sha256 = "1lmcj8rf83w13q8q68hh7sa1abc2m6j2zmfska92xdp7hslhdgc5";
}; };
buildInputs = [ emacs w3m texinfo autoconf ]; buildInputs = [ emacs w3m texinfo autoreconfHook ];
# XXX: Should we do the same for xpdf/evince, gv, gs, etc.? # XXX: Should we do the same for xpdf/evince, gv, gs, etc.?
patchPhase = '' patchPhase = ''
@ -26,11 +26,10 @@ stdenv.mkDerivation rec {
s|(w3m-which-command "identify")|"${imagemagick}/bin/identify"|g' s|(w3m-which-command "identify")|"${imagemagick}/bin/identify"|g'
''; '';
configurePhase = '' configureFlags = [
autoreconf -vfi && \ "--with-lispdir=$out/share/emacs/site-lisp"
./configure --prefix="$out" --with-lispdir="$out/share/emacs/site-lisp" \ "--with-icondir=$out/share/emacs/site-lisp/images/w3m"
--with-icondir="$out/share/emacs/site-lisp/images/w3m" ];
'';
postInstall = '' postInstall = ''
cd "$out/share/emacs/site-lisp" cd "$out/share/emacs/site-lisp"

View File

@ -1,5 +1,5 @@
{ stdenv, fetchgit,autoconf, automake, gcc, fltk13 { stdenv, fetchgit, autoreconfHook, fltk13
, libjpeg, libpng, libtool, mesa, pkgconfig }: , libjpeg, libpng, mesa, pkgconfig }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "solvespace-2.0"; name = "solvespace-2.0";
@ -15,26 +15,14 @@ stdenv.mkDerivation {
enableParallelBuilding = false; enableParallelBuilding = false;
buildInputs = [ buildInputs = [
autoconf autoreconfHook
automake
gcc
fltk13 fltk13
libjpeg libjpeg
libpng libpng
libtool
mesa mesa
pkgconfig pkgconfig
stdenv
]; ];
preConfigure = ''
aclocal
libtoolize
autoreconf -i
automake --add-missing
'';
meta = { meta = {
description = "A parametric 3d CAD program"; description = "A parametric 3d CAD program";
license = stdenv.lib.licenses.gpl3; license = stdenv.lib.licenses.gpl3;

View File

@ -1,11 +1,9 @@
{ stdenv, fetchgit, autoconf, automake, pkgconfig, libxml2 }: { stdenv, fetchgit, autoreconfHook, automake, pkgconfig, libxml2 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "evtest-1.32"; name = "evtest-1.32";
preConfigure = "autoreconf -iv"; buildInputs = [ autoreconfHook pkgconfig libxml2 ];
buildInputs = [ autoconf automake pkgconfig libxml2 ];
src = fetchgit { src = fetchgit {
url = "git://anongit.freedesktop.org/evtest"; url = "git://anongit.freedesktop.org/evtest";

View File

@ -1,8 +1,8 @@
{ stdenv, fetchurl, makeWrapper, autoconf, automake, boost, file, gettext { stdenv, fetchurl, makeWrapper, autoreconfHook, boost, file
, glib, glibc, libgnome_keyring, gnome_keyring, gtk, gtkmm, intltool , glib, glibc, libgnome_keyring, gnome_keyring, gtk, gtkmm, intltool
, libctemplate, libglade , libctemplate, libglade
, libiodbc , libiodbc
, libgnome, libsigcxx, libtool, libuuid, libxml2, libzip, lua, mesa, mysql , libgnome, libsigcxx, libuuid, libxml2, libzip, lua, mesa, mysql
, pango, paramiko, pcre, pexpect, pkgconfig, pycrypto, python, sqlite, sudo , pango, paramiko, pcre, pexpect, pkgconfig, pycrypto, python, sqlite, sudo
}: }:
@ -16,18 +16,14 @@ stdenv.mkDerivation rec {
sha256 = "1343fn3msdxqfpxw0kgm0mdx5r7g9ra1cpc8p2xhl7kz2pmqp4p6"; sha256 = "1343fn3msdxqfpxw0kgm0mdx5r7g9ra1cpc8p2xhl7kz2pmqp4p6";
}; };
buildInputs = [ autoconf automake boost file gettext glib glibc libgnome_keyring gtk gtkmm intltool buildInputs = [ autoreconfHook boost file glib glibc libgnome_keyring gtk gtkmm intltool
libctemplate libglade libgnome libiodbc libsigcxx libtool libuuid libxml2 libzip lua makeWrapper mesa libctemplate libglade libgnome libiodbc libsigcxx libuuid libxml2 libzip lua makeWrapper mesa
mysql.lib paramiko pcre pexpect pkgconfig pycrypto python sqlite ]; mysql.lib paramiko pcre pexpect pkgconfig pycrypto python sqlite ];
preConfigure = '' preConfigure = ''
substituteInPlace $(pwd)/frontend/linux/workbench/mysql-workbench.in --replace "catchsegv" "${glibc}/bin/catchsegv" substituteInPlace $(pwd)/frontend/linux/workbench/mysql-workbench.in --replace "catchsegv" "${glibc}/bin/catchsegv"
''; '';
postConfigure = ''
autoreconf -fi
'';
postInstall = '' postInstall = ''
patchShebangs $out/share/mysql-workbench/extras/build_freetds.sh patchShebangs $out/share/mysql-workbench/extras/build_freetds.sh

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoconf, automake, pkgconfig { stdenv, fetchurl, autoreconfHook, pkgconfig
, libX11, libXinerama, pango, cairo , libX11, libXinerama, pango, cairo
, libstartup_notification, i3Support ? false, i3 , libstartup_notification, i3Support ? false, i3
}: }:
@ -12,14 +12,10 @@ stdenv.mkDerivation rec {
sha256 = "112fgx2awsw1xf1983bmy3jvs33qwyi8qj7j59jqc4gx07nv1rp5"; sha256 = "112fgx2awsw1xf1983bmy3jvs33qwyi8qj7j59jqc4gx07nv1rp5";
}; };
buildInputs = [ autoconf automake pkgconfig libX11 libXinerama pango buildInputs = [ autoreconfHook pkgconfig libX11 libXinerama pango
cairo libstartup_notification cairo libstartup_notification
] ++ stdenv.lib.optional i3Support i3; ] ++ stdenv.lib.optional i3Support i3;
preConfigure = ''
autoreconf -vif
'';
meta = { meta = {
description = "Window switcher, run dialog and dmenu replacement"; description = "Window switcher, run dialog and dmenu replacement";
homepage = https://davedavenport.github.io/rofi; homepage = https://davedavenport.github.io/rofi;

View File

@ -1,29 +1,30 @@
{ stdenv, fetchgit, python, buildPythonPackage, qtmultimedia, pyqt5 { stdenv, fetchurl, python, buildPythonPackage, qtmultimedia, pyqt5
, jinja2, pygments, pyyaml, pypeg2, gst_plugins_base, gst_plugins_good , jinja2, pygments, pyyaml, pypeg2, gst-plugins-base, gst-plugins-good
, gst_ffmpeg }: , gst-plugins-bad, gst-libav, wrapGAppsHook, glib_networking }:
let version = "0.4.1"; in let version = "0.5.0"; in
buildPythonPackage { buildPythonPackage rec {
name = "qutebrowser-${version}"; name = "qutebrowser-${version}";
namePrefix = ""; namePrefix = "";
src = fetchgit { src = fetchurl {
url = "https://github.com/The-Compiler/qutebrowser.git"; url = "https://github.com/The-Compiler/qutebrowser/releases/download/v${version}/${name}.tar.gz";
rev = "8d9e9851f1dcff5deb6363586ad0f1edec040b72"; sha256 = "16cyw0jg6qg9ksr6xwgnkm1a2bwgii2s35nrgk3g705ywfsf02j7";
sha256 = "1qsdad10swnk14qw4pfyvb94y6valhkscyvl46zbxxs7ck6llsm2";
}; };
# Needs tox # Needs tox
doCheck = false; doCheck = false;
buildInputs = [ wrapGAppsHook
gst-plugins-base gst-plugins-good gst-plugins-bad gst-libav
glib_networking ];
propagatedBuildInputs = [ propagatedBuildInputs = [
python pyyaml pyqt5 jinja2 pygments pypeg2 python pyyaml pyqt5 jinja2 pygments pypeg2
]; ];
makeWrapperArgs = '' makeWrapperArgs = ''
--prefix GST_PLUGIN_PATH : "${stdenv.lib.makeSearchPath "lib/gstreamer-0.10"
[ gst_plugins_base gst_plugins_good gst_ffmpeg ]}"
--prefix QT_PLUGIN_PATH : "${qtmultimedia}/lib/qt5/plugins" --prefix QT_PLUGIN_PATH : "${qtmultimedia}/lib/qt5/plugins"
''; '';

View File

@ -1,5 +1,4 @@
{ stdenv, fetchFromGitHub, libtoxcore, pidgin, autoconf, automake, libtool { stdenv, fetchFromGitHub, libtoxcore, pidgin, autoreconfHook, libsodium }:
, libsodium } :
let let
version = "dd181722ea"; version = "dd181722ea";
@ -17,11 +16,9 @@ stdenv.mkDerivation rec {
NIX_LDFLAGS = "-lssp -lsodium"; NIX_LDFLAGS = "-lssp -lsodium";
preConfigure = "autoreconf -vfi";
postInstall = "mv $out/lib/purple-2 $out/lib/pidgin"; postInstall = "mv $out/lib/purple-2 $out/lib/pidgin";
buildInputs = [ libtoxcore pidgin autoconf automake libtool libsodium ]; buildInputs = [ libtoxcore pidgin autoreconfHook libsodium ];
meta = { meta = {
homepage = http://tox.dhs.org/; homepage = http://tox.dhs.org/;

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, freeglut, gtk2, gtkglext, libjpeg_turbo, libtheora, libXmu { stdenv, fetchurl, freeglut, gtk2, gtkglext, libjpeg_turbo, libtheora, libXmu
, lua, mesa, pkgconfig, perl, automake, autoconf, libtool, gettext, glib, cairo , lua, mesa, pkgconfig, perl, autoreconfHook, glib, cairo
, pango, gdk_pixbuf, atk , pango, gdk_pixbuf, atk
}: }:
@ -45,7 +45,7 @@ stdenv.mkDerivation {
}; };
buildInputs = [ freeglut gtk2 gtkglext libjpeg_turbo libtheora libXmu mesa pkgconfig lua buildInputs = [ freeglut gtk2 gtkglext libjpeg_turbo libtheora libXmu mesa pkgconfig lua
perl automake autoconf libtool gettext ]; perl autoreconfHook ];
patchPhase = '' patchPhase = ''
patch -Np0 -i "${gcc46Patch}" patch -Np0 -i "${gcc46Patch}"
@ -53,18 +53,15 @@ stdenv.mkDerivation {
patch -Np2 -i "${libpng16Patch}" patch -Np2 -i "${libpng16Patch}"
patch -Np1 -i "${linkingPatch}" patch -Np1 -i "${linkingPatch}"
patch -Np1 -i "${gcc47Patch}" patch -Np1 -i "${gcc47Patch}"
autoreconf
configureFlagsArray=(
--with-gtk
--with-lua=${lua}
CPPFLAGS="-DNDEBUG"
CFLAGS="-O2 -fsigned-char"
CXXFLAGS="-O2 -fsigned-char"
GTK_CFLAGS="-I${gtk2}/include/gtk-2.0 -I${gtk2}/lib/gtk-2.0/include -I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include -I${cairo}/include/cairo -I${pango}/include/pango-1.0 -I${gdk_pixbuf}/include/gdk-pixbuf-2.0 -I${atk}/include/atk-1.0 -I${gtkglext}/include/gtkglext-1.0 -I${gtkglext}/lib/gtkglext-1.0/include"
GTK_LIBS="-lgtk-x11-2.0 -lgtkglext-x11-1.0 -lcairo -lgdk_pixbuf-2.0 -lpango-1.0 -lgobject-2.0"
)
''; '';
configureFlags = "--with-gtk --with-lua=${lua}";
CPPFLAGS = "-DNDEBUG";
CFLAGS = "-O2 -fsigned-char";
CXXFLAGS = "-O2 -fsigned-char";
GTK_CFLAGS = "-I${gtk2}/include/gtk-2.0 -I${gtk2}/lib/gtk-2.0/include -I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include -I${cairo}/include/cairo -I${pango}/include/pango-1.0 -I${gdk_pixbuf}/include/gdk-pixbuf-2.0 -I${atk}/include/atk-1.0 -I${gtkglext}/include/gtkglext-1.0 -I${gtkglext}/lib/gtkglext-1.0/include";
GTK_LIBS = "-lgtk-x11-2.0 -lgtkglext-x11-1.0 -lcairo -lgdk_pixbuf-2.0 -lpango-1.0 -lgobject-2.0";
installPhase = ''make MKDIR_P="mkdir -p" install''; installPhase = ''make MKDIR_P="mkdir -p" install'';
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, makeWrapper, autoconf, automake, { stdenv, lib, fetchurl, makeWrapper, autoreconfHook,
libmspack, openssl, pam, xercesc, icu, libdnet, procps, libmspack, openssl, pam, xercesc, icu, libdnet, procps,
xlibsWrapper, libXinerama, libXi, libXrender, libXrandr, libXtst, xlibsWrapper, libXinerama, libXi, libXrender, libXrandr, libXtst,
pkgconfig, glib, gtk, gtkmm }: pkgconfig, glib, gtk, gtkmm }:
@ -17,7 +17,7 @@ in stdenv.mkDerivation {
}; };
buildInputs = buildInputs =
[ autoconf automake makeWrapper libmspack openssl pam xercesc icu libdnet procps [ autoreconfHook makeWrapper libmspack openssl pam xercesc icu libdnet procps
pkgconfig glib gtk gtkmm xlibsWrapper libXinerama libXi libXrender libXrandr libXtst ]; pkgconfig glib gtk gtkmm xlibsWrapper libXinerama libXi libXrender libXrandr libXtst ];
patchPhase = '' patchPhase = ''
@ -28,7 +28,6 @@ in stdenv.mkDerivation {
patches = [ ./recognize_nixos.patch ]; patches = [ ./recognize_nixos.patch ];
preConfigure = "autoreconf";
configureFlags = "--without-kernel-modules --without-xmlsecurity"; configureFlags = "--without-kernel-modules --without-xmlsecurity";
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -61,7 +61,7 @@ stdenv.mkDerivation {
# easy proxy configuration. This is impure, but a fixed-output # easy proxy configuration. This is impure, but a fixed-output
# derivation like fetchurl is allowed to do so since its result is # derivation like fetchurl is allowed to do so since its result is
# by definition pure. # by definition pure.
"http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy" "http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy" "GIT_PROXY_COMMAND" "SOCKS_SERVER"
]; ];
preferLocalBuild = true; preferLocalBuild = true;

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, ppl, autoconf, automake, libtool }: { fetchurl, stdenv, ppl, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cloog-ppl-0.15.11"; name = "cloog-ppl-0.15.11";
@ -10,19 +10,14 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ ppl ]; propagatedBuildInputs = [ ppl ];
nativeBuildInputs = [ automake autoconf libtool ]; nativeBuildInputs = [ autoreconfHook ];
patches = [ ./fix-ppl-version.patch ]; patches = [ ./fix-ppl-version.patch ];
configureFlags = "--with-ppl=${ppl}"; configureFlags = "--with-ppl=${ppl}";
preConfigure = '' preAutoreconf = ''
touch NEWS ChangeLog AUTHORS touch NEWS ChangeLog AUTHORS
${libtool}/bin/libtoolize -c --force
${automake}/bin/aclocal
${automake}/bin/automake --add-missing
${automake}/bin/automake -a -c --foreign
${autoconf}/bin/autoreconf
''; '';
crossAttrs = { crossAttrs = {

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, autoconf, automake, libtool { stdenv, fetchurl, pkgconfig, autoreconfHook
, expat, systemd, glib, dbus_glib, python , expat, systemd, glib, dbus_glib, python
, libX11 ? null, libICE ? null, libSM ? null, x11Support ? (stdenv.isLinux || stdenv.isDarwin) }: , libX11 ? null, libICE ? null, libSM ? null, x11Support ? (stdenv.isLinux || stdenv.isDarwin) }:
@ -46,14 +46,15 @@ let
done done
''; '';
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig autoreconfHook ];
propagatedBuildInputs = [ expat ]; propagatedBuildInputs = [ expat ];
buildInputs = [ autoconf automake libtool ]; # ToDo: optional selinux?
preAutoreconf = ''
substituteInPlace tools/Makefile.am --replace 'install-localstatelibDATA:' 'disabled:'
'';
preConfigure = '' preConfigure = ''
patchShebangs . patchShebangs .
substituteInPlace tools/Makefile.am --replace 'install-localstatelibDATA:' 'disabled:'
autoreconf -fi
''; '';
configureFlags = [ configureFlags = [

View File

@ -1,4 +1,4 @@
{ fetchFromGitHub, stdenv, autoconf, automake, libtool }: { fetchFromGitHub, stdenv, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "dotconf-" + version; name = "dotconf-" + version;
@ -11,9 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1sc95hw5k2xagpafny0v35filmcn05k1ds5ghkldfpf6xw4hakp7"; sha256 = "1sc95hw5k2xagpafny0v35filmcn05k1ds5ghkldfpf6xw4hakp7";
}; };
buildInputs = [ autoconf automake libtool ]; buildInputs = [ autoreconfHook ];
preConfigure = "autoreconf --install";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A configuration parser library"; description = "A configuration parser library";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, zlib, curl, automake, libtool, autoconf, unzip }: { stdenv, fetchurl, zlib, curl, autoreconfHook, unzip }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "funambol-client-cpp-9.0.0"; name = "funambol-client-cpp-9.0.0";
@ -10,17 +10,9 @@ stdenv.mkDerivation rec {
postUnpack = ''sourceRoot+="/sdk/cpp/build/autotools"''; postUnpack = ''sourceRoot+="/sdk/cpp/build/autotools"'';
# Upstream guys forgotten to run autoreconf...
preConfigure=''
libtoolize -c -f
aclocal
autoheader
automake -a -c -f --add-missing
autoconf -f'';
propagatedBuildInputs = [ zlib curl ]; propagatedBuildInputs = [ zlib curl ];
nativeBuildInputs = [ automake libtool autoconf unzip ]; nativeBuildInputs = [ autoreconfHook unzip ];
meta = { meta = {
description = "SyncML client sdk by Funambol project"; description = "SyncML client sdk by Funambol project";

View File

@ -2,15 +2,15 @@
, gsettings_desktop_schemas }: , gsettings_desktop_schemas }:
let let
ver_maj = "2.44"; ver_maj = "2.46";
ver_min = "0"; ver_min = "1";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "glib-networking-${ver_maj}.${ver_min}"; name = "glib-networking-${ver_maj}.${ver_min}";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/glib-networking/${ver_maj}/${name}.tar.xz"; url = "mirror://gnome/sources/glib-networking/${ver_maj}/${name}.tar.xz";
sha256 = "8f8a340d3ba99bfdef38b653da929652ea6640e27969d29f7ac51fbbe11a4346"; sha256 = "1cchmi08jpjypgmm9i7xzh5qfg2q5k61kry9ns8mhw3z44a440ym";
}; };
configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"; configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, automake, autoconf, libtool, makeWrapper { stdenv, fetchurl, pkgconfig, autoreconfHook, makeWrapper
, perl, libxml2, IOStringy }: , perl, libxml2, IOStringy }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -13,14 +13,10 @@ stdenv.mkDerivation rec {
patches = [ ./hivex-syms.patch ]; patches = [ ./hivex-syms.patch ];
buildInputs = [ buildInputs = [
pkgconfig automake autoconf libtool makeWrapper pkgconfig autoreconfHook makeWrapper
perl libxml2 IOStringy perl libxml2 IOStringy
]; ];
preConfigure = ''
AUTOPOINT=true autoreconf --verbose --install
'';
postInstall = '' postInstall = ''
for bin in $out/bin/*; do for bin in $out/bin/*; do
wrapProgram "$bin" --prefix "PATH" : "$out/bin" wrapProgram "$bin" --prefix "PATH" : "$out/bin"

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, makeWrapper, gtk, gnome, gnome3, { stdenv, fetchurl, pkgconfig, makeWrapper, gtk, gnome, gnome3,
libstartup_notification, libgtop, perl, perlXMLParser, autoconf, libstartup_notification, libgtop, perl, perlXMLParser,
automake, libtool, intltool, gtk_doc, docbook_xsl, xauth, sudo autoreconfHook, intltool, gtk_doc, docbook_xsl, xauth, sudo
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -52,13 +52,12 @@ stdenv.mkDerivation rec {
preConfigure = '' preConfigure = ''
intltoolize --force --copy --automake intltoolize --force --copy --automake
autoreconf -vfi
''; '';
buildInputs = [ buildInputs = [
pkgconfig makeWrapper gtk gnome.GConf libstartup_notification pkgconfig makeWrapper gtk gnome.GConf libstartup_notification
gnome3.libgnome_keyring libgtop gnome.libglade perl perlXMLParser gnome3.libgnome_keyring libgtop gnome.libglade perl perlXMLParser
autoconf automake libtool intltool gtk_doc docbook_xsl autoreconfHook intltool gtk_doc docbook_xsl
]; ];
preFixup = '' preFixup = ''

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, autoconf, automake, libtool, makeWrapper { stdenv, fetchurl, pkgconfig, autoreconfHook, makeWrapper
, ncurses, cpio, gperf, perl, cdrkit, flex, bison, qemu, pcre, augeas, libxml2 , ncurses, cpio, gperf, perl, cdrkit, flex, bison, qemu, pcre, augeas, libxml2
, acl, libcap, libcap_ng, libconfig, systemd, fuse, yajl, libvirt, hivex , acl, libcap, libcap_ng, libconfig, systemd, fuse, yajl, libvirt, hivex
, gmp, readline, file, libintlperl, GetoptLong, SysVirt, numactl, xen }: , gmp, readline, file, libintlperl, GetoptLong, SysVirt, numactl, xen }:
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ buildInputs = [
makeWrapper pkgconfig autoconf automake libtool ncurses cpio gperf perl makeWrapper pkgconfig autoreconfHook ncurses cpio gperf perl
cdrkit flex bison qemu pcre augeas libxml2 acl libcap libcap_ng libconfig cdrkit flex bison qemu pcre augeas libxml2 acl libcap libcap_ng libconfig
systemd fuse yajl libvirt gmp readline file hivex libintlperl GetoptLong systemd fuse yajl libvirt gmp readline file hivex libintlperl GetoptLong
SysVirt numactl xen SysVirt numactl xen
@ -28,10 +28,6 @@ stdenv.mkDerivation rec {
patches = [ ./libguestfs-syms.patch ]; patches = [ ./libguestfs-syms.patch ];
NIX_CFLAGS_COMPILE="-I${libxml2}/include/libxml2/"; NIX_CFLAGS_COMPILE="-I${libxml2}/include/libxml2/";
preConfigure = ''
AUTOPOINT=true LIBTOOLIZE=true autoreconf --verbose --install
'';
postInstall = '' postInstall = ''
for bin in $out/bin/*; do for bin in $out/bin/*; do
wrapProgram "$bin" \ wrapProgram "$bin" \

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoconf, automake, libtool, pkgconfig, file, protobufc }: { stdenv, fetchurl, autoreconfHook, pkgconfig, file, protobufc }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libivykis-${version}"; name = "libivykis-${version}";
@ -10,9 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "11d7sjbhcll932rlvx9sf3vk60b5bazmjf4vlr4qd9cz0cashizz"; sha256 = "11d7sjbhcll932rlvx9sf3vk60b5bazmjf4vlr4qd9cz0cashizz";
}; };
buildInputs = [ autoconf automake libtool pkgconfig file protobufc ]; buildInputs = [ autoreconfHook pkgconfig file protobufc ];
preConfigure = "autoreconf -i";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = '' description = ''

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoconf, automake, libtool, boost, python, libgsf, { stdenv, fetchurl, autoreconfHook, boost, python, libgsf,
pkgconfig, bzip2, xmlto, gettext, imagemagick, doxygen }: pkgconfig, bzip2, xmlto, gettext, imagemagick, doxygen }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -9,13 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "0qih919zk40japs4mpiaw5vyr2bvwz60sjf23gixd5vvzc32cljz"; sha256 = "0qih919zk40japs4mpiaw5vyr2bvwz60sjf23gixd5vvzc32cljz";
}; };
buildInputs = [ autoconf automake libtool boost python libgsf pkgconfig bzip2 buildInputs = [ autoreconfHook boost python libgsf pkgconfig bzip2
xmlto gettext imagemagick doxygen ]; xmlto gettext imagemagick doxygen ];
preConfigure = ''
autoreconf -v -f -i
'';
doCheck = true; doCheck = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, libtool, automake, autoconf { stdenv, fetchurl, pkgconfig, autoreconfHook
, librdf_raptor, librdf_raptor2, ladspaH, openssl, zlib #, swh_lv2 , librdf_raptor2, ladspaH, openssl, zlib
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -11,19 +11,13 @@ stdenv.mkDerivation rec {
sha256 = "18p2flb2sv2hq6w2qkd29z9c7knnwqr3f12i2srshlzx6vwkm05s"; sha256 = "18p2flb2sv2hq6w2qkd29z9c7knnwqr3f12i2srshlzx6vwkm05s";
}; };
preAutoreconf = "rm m4/*";
postPatch = "sed -i -e 's:usr/local:usr:' examples/{instances,remove}_test.c"; postPatch = "sed -i -e 's:usr/local:usr:' examples/{instances,remove}_test.c";
preConfigure = "rm m4/* && autoreconf -if"; buildInputs = [ pkgconfig autoreconfHook ladspaH openssl zlib ];
buildInputs = [
pkgconfig libtool automake autoconf ladspaH openssl zlib /*swh_lv2*/
#librdf_raptor
];
propagatedBuildInputs = [ librdf_raptor2 ]; propagatedBuildInputs = [ librdf_raptor2 ];
#doCheck = true; # would need swh_lv2 and some path patching
meta = { meta = {
description = "Lightweight RDF library with special support for LADSPA plugins"; description = "Lightweight RDF library with special support for LADSPA plugins";
homepage = http://sourceforge.net/projects/lrdf/; homepage = http://sourceforge.net/projects/lrdf/;

View File

@ -3,15 +3,15 @@
, libintlOrEmpty , libintlOrEmpty
, intltool, python }: , intltool, python }:
let let
majorVersion = "2.50"; majorVersion = "2.52";
version = "${majorVersion}.0"; version = "${majorVersion}.2";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "libsoup-${version}"; name = "libsoup-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/libsoup/${majorVersion}/libsoup-${version}.tar.xz"; url = "mirror://gnome/sources/libsoup/${majorVersion}/libsoup-${version}.tar.xz";
sha256 = "1e01365ac4af3817187ea847f9d3588c27eee01fc519a5a7cb212bb78b0f667b"; sha256 = "1p4k40y2gikr6m8p3hm0vswdzj2pj133dckipd2jk5bxbj5n4mfv";
}; };
patchPhase = '' patchPhase = ''
@ -25,7 +25,7 @@ stdenv.mkDerivation {
passthru.propagatedUserEnvPackages = [ glib_networking ]; passthru.propagatedUserEnvPackages = [ glib_networking ];
# glib_networking is a runtime dependency, not a compile-time dependency # glib_networking is a runtime dependency, not a compile-time dependency
configureFlags = "--disable-tls-check" + stdenv.lib.optionalString (!gnomeSupport) " --without-gnome"; configureFlags = "--disable-tls-check --enable-vala=no" + stdenv.lib.optionalString (!gnomeSupport) " --without-gnome";
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-lintl"; NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-lintl";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoconf, libtool, automake, libsodium, ncurses, libopus { stdenv, fetchFromGitHub, autoreconfHook, libsodium, ncurses, libopus
, libvpx, check, libconfig, pkgconfig }: , libvpx, check, libconfig, pkgconfig }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -22,10 +22,6 @@ stdenv.mkDerivation rec {
auto_tests/tox_test.c auto_tests/tox_test.c
''; '';
preConfigure = ''
autoreconf -i
'';
configureFlags = [ configureFlags = [
"--with-libsodium-headers=${libsodium}/include" "--with-libsodium-headers=${libsodium}/include"
"--with-libsodium-libs=${libsodium}/lib" "--with-libsodium-libs=${libsodium}/lib"
@ -34,8 +30,7 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
autoconf libtool automake libsodium ncurses autoreconfHook libsodium ncurses check libconfig pkgconfig
check libconfig pkgconfig
] ++ stdenv.lib.optionals (!stdenv.isArm) [ ] ++ stdenv.lib.optionals (!stdenv.isArm) [
libopus libopus
]; ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoconf, libtool, automake, libsodium, ncurses, libopus { stdenv, fetchFromGitHub, autoreconfHook, libsodium, ncurses, libopus
, libvpx, check, libconfig, pkgconfig }: , libvpx, check, libconfig, pkgconfig }:
let let
@ -26,10 +26,6 @@ stdenv.mkDerivation rec {
auto_tests/tox_test.c auto_tests/tox_test.c
''; '';
preConfigure = ''
autoreconf -i
'';
configureFlags = [ configureFlags = [
"--with-libsodium-headers=${libsodium}/include" "--with-libsodium-headers=${libsodium}/include"
"--with-libsodium-libs=${libsodium}/lib" "--with-libsodium-libs=${libsodium}/lib"
@ -38,7 +34,7 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
autoconf libtool automake libsodium ncurses autoreconfHook libsodium ncurses
check libconfig pkgconfig check libconfig pkgconfig
] ++ stdenv.lib.optionals (!stdenv.isArm) [ ] ++ stdenv.lib.optionals (!stdenv.isArm) [
libopus libopus

View File

@ -1,14 +1,11 @@
{ stdenv, zlib, autoconf, automake, libtool }: { stdenv, zlib, autoreconfHook }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "minizip-${zlib.version}"; name = "minizip-${zlib.version}";
inherit (zlib) src; inherit (zlib) src;
nativeBuildInputs = [ autoconf automake libtool ]; nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ zlib ]; buildInputs = [ zlib ];
preConfigure = '' sourceRoot = "zlib-${zlib.version}/contrib/minizip";
cd contrib/minizip
autoreconf -vfi
'';
} }

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, openssl, autoconf, automake, libtool }: { stdenv, fetchurl, pkgconfig, openssl, autoreconfHook }:
let let
rev = "5d412bad60"; rev = "5d412bad60";
@ -12,9 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "1mih6mha39yr5s5m18lg4854qc105asgnwmjw7f95kgmzni62kxp"; sha256 = "1mih6mha39yr5s5m18lg4854qc105asgnwmjw7f95kgmzni62kxp";
}; };
preConfigure = "autoreconf -vfi"; buildInputs = [ pkgconfig openssl autoreconfHook ];
buildInputs = [ pkgconfig openssl autoconf automake libtool ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://www.opensc-project.org/opensc/wiki/pkcs11-helper; homepage = https://www.opensc-project.org/opensc/wiki/pkcs11-helper;

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, gtk, spice_protocol, intltool, celt_0_5_1 { stdenv, fetchurl, pkgconfig, gtk, spice_protocol, intltool, celt_0_5_1
, openssl, libpulseaudio, pixman, gobjectIntrospection, libjpeg_turbo, zlib , openssl, libpulseaudio, pixman, gobjectIntrospection, libjpeg_turbo, zlib
, cyrus_sasl, python, pygtk, autoconf, automake, libtool, usbredir, libsoup , cyrus_sasl, python, pygtk, autoreconfHook, usbredir, libsoup
, gtk3, enableGTK3 ? false }: , gtk3, enableGTK3 ? false }:
with stdenv.lib; with stdenv.lib;
@ -18,14 +18,16 @@ stdenv.mkDerivation rec {
libjpeg_turbo zlib cyrus_sasl python pygtk usbredir libjpeg_turbo zlib cyrus_sasl python pygtk usbredir
] ++ (if enableGTK3 then [ gtk3 ] else [ gtk ]); ] ++ (if enableGTK3 then [ gtk3 ] else [ gtk ]);
nativeBuildInputs = [ pkgconfig intltool libtool libsoup autoconf automake ]; nativeBuildInputs = [ pkgconfig intltool libsoup autoreconfHook ];
NIX_CFLAGS_COMPILE = "-fno-stack-protector"; NIX_CFLAGS_COMPILE = "-fno-stack-protector";
preConfigure = '' preAutoreconf = ''
substituteInPlace src/Makefile.am \ substituteInPlace src/Makefile.am \
--replace '=codegendir pygtk-2.0' '=codegendir pygobject-2.0' --replace '=codegendir pygtk-2.0' '=codegendir pygobject-2.0'
autoreconf -v --force --install '';
preConfigure = ''
intltoolize -f intltoolize -f
''; '';

View File

@ -1,4 +1,4 @@
{ stdenv, fetchsvn, autoconf, automake, libtool, pkgconfig, libogg }: { stdenv, fetchsvn, autoreconfHook, pkgconfig, libogg }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tremor-svn-${src.rev}"; name = "tremor-svn-${src.rev}";
@ -9,11 +9,10 @@ stdenv.mkDerivation rec {
sha256 = "161411cbefa1527da7a8fc087e78d8e21d19143d3a6eb42fb281e5026aad7568"; sha256 = "161411cbefa1527da7a8fc087e78d8e21d19143d3a6eb42fb281e5026aad7568";
}; };
nativeBuildInputs = [ autoconf automake libtool pkgconfig ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];
propagatedBuildInputs = [ libogg ]; propagatedBuildInputs = [ libogg ];
preConfigure = '' preConfigure = ''
autoreconf -vfi
sed -i /XIPH_PATH_OGG/d configure sed -i /XIPH_PATH_OGG/d configure
''; '';

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, SDL_mixer, SDL, autoconf, automake}: { stdenv, fetchurl, SDL_mixer, SDL, autoreconfHook }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "ri_li-2.0.1"; name = "ri_li-2.0.1";
@ -10,12 +10,9 @@ stdenv.mkDerivation {
patches = [ ./moderinze_cpp.patch ]; patches = [ ./moderinze_cpp.patch ];
preConfigure = '' CPPFLAGS = "-I${SDL}/include -I${SDL}/include/SDL -I${SDL_mixer}/include";
export CPPFLAGS="-I${SDL}/include -I${SDL}/include/SDL -I${SDL_mixer}/include"
autoreconf -i
'';
buildInputs = [SDL SDL_mixer autoconf automake]; buildInputs = [ SDL SDL_mixer autoreconfHook ];
meta = { meta = {
homepage = http://ri-li.sourceforge.net; homepage = http://ri-li.sourceforge.net;

View File

@ -1,15 +1,17 @@
{ stdenv, fetchurl, perl, gettext, libpng, giflib, libjpeg, alsaLib, readline, mesa, libX11 { stdenv, fetchurl, perl, libpng, giflib, libjpeg, alsaLib, readline, mesa, libX11
, pkgconfig, gtk, SDL, autoconf, automake, makeDesktopItem , pkgconfig, gtk, SDL, autoreconfHook, makeDesktopItem
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "vice-2.2"; name = "vice-2.2";
src = fetchurl { src = fetchurl {
url = http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/vice-2.2.tar.gz; url = http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/vice-2.2.tar.gz;
sha256 = "0l8mp9ybx494fdqgr1ps4x3c3qzms4yyg4hzcn3ihzy92zw1nn2x"; sha256 = "0l8mp9ybx494fdqgr1ps4x3c3qzms4yyg4hzcn3ihzy92zw1nn2x";
}; };
buildInputs = [ perl gettext libpng giflib libjpeg alsaLib readline mesa
pkgconfig gtk SDL autoconf automake ]; buildInputs = [ perl libpng giflib libjpeg alsaLib readline mesa
pkgconfig gtk SDL autoreconfHook ];
configureFlags = "--with-sdl --enable-fullscreen --enable-gnomeui"; configureFlags = "--with-sdl --enable-fullscreen --enable-gnomeui";
desktopItem = makeDesktopItem { desktopItem = makeDesktopItem {
@ -23,9 +25,7 @@ stdenv.mkDerivation rec {
patchPhase = '' patchPhase = ''
# Disable font-cache update # Disable font-cache update
sed -i -e "s|install: install-data-am|install-no: install-data-am|" data/fonts/Makefile.am sed -i -e "s|install: install-data-am|install-no: install-data-am|" data/fonts/Makefile.am
autoreconf -f -i
''; '';
NIX_LDFLAGS = "-lX11 -L${libX11}/lib"; NIX_LDFLAGS = "-lX11 -L${libX11}/lib";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, pkgconfig, autoconf, automake { stdenv, fetchgit, pkgconfig, autoreconfHook
, libX11, pam, libgcrypt, libXrender, imlib2 }: , libX11, pam, libgcrypt, libXrender, imlib2 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -11,7 +11,6 @@ stdenv.mkDerivation rec {
sha256 = "c1f00bf90c966b2b76e00061cc4b54a3c0bc6547e788731ab694b43f55a216ab"; sha256 = "c1f00bf90c966b2b76e00061cc4b54a3c0bc6547e788731ab694b43f55a216ab";
}; };
preConfigure = "autoreconf -fvi";
configureFlags = [ configureFlags = [
"--enable-pam" "--enable-pam"
"--enable-hash" "--enable-hash"
@ -19,7 +18,7 @@ stdenv.mkDerivation rec {
"--enable-imlib2" "--enable-imlib2"
]; ];
buildInputs = [ buildInputs = [
pkgconfig autoconf automake libX11 pkgconfig autoreconfHook libX11
pam libgcrypt libXrender imlib2 pam libgcrypt libXrender imlib2
]; ];

View File

@ -1,34 +1,28 @@
{ {
stdenv stdenv
, fetchurl , fetchurl
, autoconf
, automake
, utilmacros , utilmacros
, pkgconfig , pkgconfig
, libtool
, mtdev , mtdev
, xorgserver , xorgserver
, xproto , xproto
, inputproto , inputproto
, pixman , pixman
, autoreconfHook
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "xf86-input-mtrack-0.3.0"; name = "xf86-input-mtrack-0.3.0";
preConfigure = "autoreconf -vfi";
buildInputs = [ buildInputs = [
autoconf
automake
utilmacros utilmacros
pkgconfig pkgconfig
libtool
mtdev mtdev
xorgserver xorgserver
xproto xproto
inputproto inputproto
pixman pixman
autoreconfHook
]; ];
CFLAGS = "-I${pixman}/include/pixman-1"; CFLAGS = "-I${pixman}/include/pixman-1";

View File

@ -1,5 +1,5 @@
{ stdenv, fetchgit, autoconf, automake, fontsproto, libX11, libXext { stdenv, fetchgit, autoreconfHook, fontsproto, libX11, libXext
, libtool, pixman, pkgconfig, renderproto, utilmacros, xorgserver , pixman, pkgconfig, renderproto, utilmacros, xorgserver
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
@ -12,13 +12,12 @@ stdenv.mkDerivation {
}; };
buildInputs = buildInputs =
[ autoconf automake fontsproto libX11 libXext libtool pixman [ autoreconfHook fontsproto libX11 libXext pixman
pkgconfig renderproto utilmacros xorgserver pkgconfig renderproto utilmacros xorgserver
]; ];
configurePhase = '' configurePhase = ''
autoreconf -fvi
./configure --prefix=$out CFLAGS="-I${pixman}/include/pixman-1" ./configure --prefix=$out CFLAGS="-I${pixman}/include/pixman-1"
''; '';

View File

@ -1,5 +1,4 @@
{ stdenv, fetchurl, unzip, autoconf, automake, libtool, { stdenv, fetchurl, unzip, autoreconfHook, libpo6, libe, pkgconfig }:
libpo6, libe, pkgconfig }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "busybee-${version}"; name = "busybee-${version}";
@ -9,16 +8,14 @@ stdenv.mkDerivation rec {
url = "https://github.com/rescrv/busybee/archive/releases/${version}.zip"; url = "https://github.com/rescrv/busybee/archive/releases/${version}.zip";
sha256 = "0b51h1kmkf0s3d9y7wjqgp1pk1rk9i7n8bcgyj01kflzdgafbl0b"; sha256 = "0b51h1kmkf0s3d9y7wjqgp1pk1rk9i7n8bcgyj01kflzdgafbl0b";
}; };
buildInputs = [ buildInputs = [
autoconf autoreconfHook
automake
libe libe
libpo6 libpo6
libtool
pkgconfig pkgconfig
unzip unzip
]; ];
preConfigure = "autoreconf -i";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A high-performance messaging layer"; description = "A high-performance messaging layer";

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, makeWrapper, unzip, autoconf, automake, libtool, { stdenv, fetchurl, makeWrapper, unzip, autoreconfHook, autoconf-archive
python, libsodium, pkgconfig, popt, glog, xz, json_c, gperf, yacc, , python, libsodium, pkgconfig, popt, glog, xz, json_c, gperf, yacc
flex, pandoc, help2man, autoconf-archive, callPackage }: , flex, pandoc, help2man, callPackage }:
assert stdenv.isLinux; assert stdenv.isLinux;
@ -25,9 +25,8 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ buildInputs = [
autoconf autoreconfHook
autoconf-archive autoconf-archive
automake
busybee busybee
glog glog
hyperleveldb hyperleveldb
@ -35,7 +34,6 @@ stdenv.mkDerivation rec {
libe libe
libmacaroons libmacaroons
libpo6 libpo6
libtool
pkgconfig pkgconfig
popt popt
python python
@ -47,7 +45,6 @@ stdenv.mkDerivation rec {
help2man help2man
pandoc pandoc
]; ];
preConfigure = "autoreconf -fi";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A scalable, searchable key-value store"; description = "A scalable, searchable key-value store";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, autoconf, automake, libtool }: { stdenv, fetchurl, unzip, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "hyperleveldb-${version}"; name = "hyperleveldb-${version}";
@ -8,8 +8,8 @@ stdenv.mkDerivation rec {
url = "https://github.com/rescrv/HyperLevelDB/archive/releases/${version}.zip"; url = "https://github.com/rescrv/HyperLevelDB/archive/releases/${version}.zip";
sha256 = "0m5fwl9sc7c6m2zm3zjlxxg7f602gnaryikxgflahhdccdvvr56y"; sha256 = "0m5fwl9sc7c6m2zm3zjlxxg7f602gnaryikxgflahhdccdvvr56y";
}; };
buildInputs = [ unzip autoconf automake libtool ];
preConfigure = "autoreconf -i"; buildInputs = [ unzip autoreconfHook ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = ''A fork of LevelDB intended to meet the needs of description = ''A fork of LevelDB intended to meet the needs of

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, autoconf, automake, libtool, libpo6, pkgconfig }: { stdenv, fetchurl, unzip, autoreconfHook, libpo6, pkgconfig }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libe-${version}"; name = "libe-${version}";
@ -8,8 +8,8 @@ stdenv.mkDerivation rec {
url = "https://github.com/rescrv/e/archive/releases/${version}.zip"; url = "https://github.com/rescrv/e/archive/releases/${version}.zip";
sha256 = "18xm0hcnqdf0ipfn19jrgzqsxij5xjbbnihhzc57n4v7yfdca1w3"; sha256 = "18xm0hcnqdf0ipfn19jrgzqsxij5xjbbnihhzc57n4v7yfdca1w3";
}; };
buildInputs = [ unzip autoconf automake libtool libpo6 pkgconfig ];
preConfigure = "autoreconf -i"; buildInputs = [ unzip autoreconfHook libpo6 pkgconfig ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Library containing high-performance datastructures and utilities for C++"; description = "Library containing high-performance datastructures and utilities for C++";

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, unzip, autoconf, automake, libtool, { stdenv, fetchurl, unzip, autoreconfHook, pkgconfig, libsodium, python }:
pkgconfig, libsodium, python }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libmacaroons-${version}"; name = "libmacaroons-${version}";
version = "0.3.0"; version = "0.3.0";
@ -8,8 +8,8 @@ stdenv.mkDerivation rec {
url = "https://github.com/rescrv/libmacaroons/archive/releases/${version}.zip"; url = "https://github.com/rescrv/libmacaroons/archive/releases/${version}.zip";
sha256 = "18c44424jri0p5la6jgrnlz5p937hk7ws2mldhzjwisqyf5qld43"; sha256 = "18c44424jri0p5la6jgrnlz5p937hk7ws2mldhzjwisqyf5qld43";
}; };
buildInputs = [ unzip autoconf automake libtool python libsodium pkgconfig ];
preConfigure = "autoreconf -i"; buildInputs = [ unzip autoreconfHook python libsodium pkgconfig ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = ''Macaroons are flexible authorization credentials that description = ''Macaroons are flexible authorization credentials that

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, autoconf, automake, libtool }: { stdenv, fetchurl, unzip, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libpo6-${version}"; name = "libpo6-${version}";
@ -8,8 +8,8 @@ stdenv.mkDerivation rec {
url = "https://github.com/rescrv/po6/archive/releases/${version}.zip"; url = "https://github.com/rescrv/po6/archive/releases/${version}.zip";
sha256 = "17grzkh6aw1f68qvkhivbb6vwbm6jd41ysbfn88pypf5lczxrxly"; sha256 = "17grzkh6aw1f68qvkhivbb6vwbm6jd41ysbfn88pypf5lczxrxly";
}; };
buildInputs = [ unzip autoconf automake libtool ];
preConfigure = "autoreconf -i"; buildInputs = [ unzip autoreconfHook ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "POSIX wrappers for C++"; description = "POSIX wrappers for C++";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, autoconf, automake, libtool, glog, { stdenv, fetchurl, unzip, autoreconfHook, glog,
hyperleveldb, libe, pkgconfig, popt, libpo6, busybee }: hyperleveldb, libe, pkgconfig, popt, libpo6, busybee }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -9,20 +9,18 @@ stdenv.mkDerivation rec {
url = "https://github.com/rescrv/Replicant/archive/releases/${version}.zip"; url = "https://github.com/rescrv/Replicant/archive/releases/${version}.zip";
sha256 = "1q3pdq2ndpj70yd1578bn4grlrp77gl8hv2fz34jpx34qmlalda4"; sha256 = "1q3pdq2ndpj70yd1578bn4grlrp77gl8hv2fz34jpx34qmlalda4";
}; };
buildInputs = [ buildInputs = [
autoconf autoreconfHook
automake
busybee busybee
glog glog
hyperleveldb hyperleveldb
libe libe
libpo6 libpo6
libtool
pkgconfig pkgconfig
popt popt
unzip unzip
]; ];
preConfigure = "autoreconf -i";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A system for maintaining replicated state machines"; description = "A system for maintaining replicated state machines";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pam, openssl, openssh, shadow, makeWrapper }: { stdenv, fetchFromGitHub, autoreconfHook, pam, openssl, openssh, shadow, makeWrapper }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "2.19"; version = "2.19";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
patches = [ ./shellinabox-minus.patch ]; patches = [ ./shellinabox-minus.patch ];
buildInputs = [ autoconf automake libtool pam openssl openssh makeWrapper]; buildInputs = [ autoreconfHook pam openssl openssh makeWrapper ];
# Disable GSSAPIAuthentication errors. Also, paths in certain source files are # Disable GSSAPIAuthentication errors. Also, paths in certain source files are
# hardcoded. Replace the hardcoded paths with correct paths. # hardcoded. Replace the hardcoded paths with correct paths.
@ -23,7 +23,6 @@ stdenv.mkDerivation rec {
substituteInPlace ./shellinabox/service.c --replace "/bin/login" "${shadow}/bin/login" substituteInPlace ./shellinabox/service.c --replace "/bin/login" "${shadow}/bin/login"
substituteInPlace ./shellinabox/launcher.c --replace "/bin/login" "${shadow}/bin/login" substituteInPlace ./shellinabox/launcher.c --replace "/bin/login" "${shadow}/bin/login"
substituteInPlace ./libhttp/ssl.c --replace "/usr/bin" "${openssl}/bin" substituteInPlace ./libhttp/ssl.c --replace "/usr/bin" "${openssl}/bin"
autoreconf -vfi
''; '';
postInstall = '' postInstall = ''

View File

@ -1,21 +1,20 @@
{stdenv, fetchFromGitHub, libzip, autoconf, automake, libtool, m4}: { stdenv, fetchFromGitHub, libzip, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
baseName = "runzip";
version = "1.4"; version = "1.4";
name = "${baseName}-${version}"; name = "runzip-${version}";
buildInputs = [libzip autoconf automake libtool m4];
buildInputs = [ libzip autoreconfHook ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vlm"; owner = "vlm";
repo = "zip-fix-filename-encoding"; repo = "zip-fix-filename-encoding";
rev = "v${version}"; rev = "v${version}";
sha256 = "0l5zbb5hswxczigvyal877j0aiq3fc01j3gv88bvy7ikyvw3lc07"; sha256 = "0l5zbb5hswxczigvyal877j0aiq3fc01j3gv88bvy7ikyvw3lc07";
}; };
preConfigure = ''
autoreconf -iv
'';
meta = { meta = {
inherit version; description = "A tool to convert filename encoding inside a ZIP archive";
description = ''A tool to convert filename encoding inside a ZIP archive'';
license = stdenv.lib.licenses.bsd2 ; license = stdenv.lib.licenses.bsd2 ;
maintainers = [stdenv.lib.maintainers.raskin]; maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, autoconf, automake, texinfo, buggyBiosCDSupport ? true}: {stdenv, fetchurl, autoreconfHook, texinfo, buggyBiosCDSupport ? true}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "grub-0.97-patch-1.12"; name = "grub-0.97-patch-1.12";
@ -33,8 +33,8 @@ stdenv.mkDerivation {
] ++ (stdenv.lib.optional buggyBiosCDSupport ./buggybios.patch); ] ++ (stdenv.lib.optional buggyBiosCDSupport ./buggybios.patch);
# Autoconf/automake required for the splashimage patch. # autoreconfHook required for the splashimage patch.
buildInputs = [autoconf automake texinfo]; buildInputs = [ autoreconfHook texinfo ];
prePatch = '' prePatch = ''
unpackFile $gentooPatches unpackFile $gentooPatches
@ -45,11 +45,6 @@ stdenv.mkDerivation {
done done
''; '';
preConfigure = ''
autoreconf
automake --add-missing
'';
passthru.grubTarget = ""; passthru.grubTarget = "";
meta = { meta = {

View File

@ -1,6 +1,5 @@
{ stdenv, fetchurl, fetchgit, glib, readline, bison, flex, pkgconfig, { stdenv, fetchgit, glib, readline, bison, flex, pkgconfig,
libiconv, autoconf, automake, libtool, which, txt2man, gnome_doc_utils, libiconv, autoreconfHook, which, txt2man, gnome_doc_utils, scrollkeeper }:
scrollkeeper}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "mdbtools-git-2014-07-25"; name = "mdbtools-git-2014-07-25";
@ -12,16 +11,18 @@ stdenv.mkDerivation {
}; };
buildInputs = [ buildInputs = [
glib readline bison flex pkgconfig autoconf automake glib readline bison flex autoreconfHook pkgconfig which txt2man
libtool which txt2man gnome_doc_utils scrollkeeper libiconv gnome_doc_utils scrollkeeper libiconv
]; ];
preConfigure = '' preAutoreconf = ''
sed -e 's@static \(GHashTable [*]mdb_backends;\)@\1@' -i src/libmdb/backend.c
sed -e '/ENABLE_GTK_DOC/aAM_CONDITIONAL(HAVE_GNOME_DOC_UTILS, test x$enable_gtk_doc = xyes)' \ sed -e '/ENABLE_GTK_DOC/aAM_CONDITIONAL(HAVE_GNOME_DOC_UTILS, test x$enable_gtk_doc = xyes)' \
-e '/ENABLE_GTK_DOC/aAM_CONDITIONAL(ENABLE_SK, test x$enable_scrollkeeper = xyes)' \ -e '/ENABLE_GTK_DOC/aAM_CONDITIONAL(ENABLE_SK, test x$enable_scrollkeeper = xyes)' \
-i configure.ac -i configure.ac
autoreconf -i -f '';
preConfigure = ''
sed -e 's@static \(GHashTable [*]mdb_backends;\)@\1@' -i src/libmdb/backend.c
''; '';
meta = { meta = {

View File

@ -1,5 +1,4 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, file { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, file , protobufc }:
, protobufc }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "riemann-c-client-${version}"; name = "riemann-c-client-${version}";
@ -13,9 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "0jc2bbw7sp2gr4cswx78srs0p1kp81prcarq4ivqpfw4bmzg6xg4"; sha256 = "0jc2bbw7sp2gr4cswx78srs0p1kp81prcarq4ivqpfw4bmzg6xg4";
}; };
buildInputs = [ autoconf automake libtool pkgconfig file protobufc ]; buildInputs = [ autoreconfHook pkgconfig file protobufc ];
preConfigure = "autoreconf -i";
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/algernon/riemann-c-client; homepage = https://github.com/algernon/riemann-c-client;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchsvn, xlibsWrapper, libXmu, autoconf, automake, libtool }: { stdenv, fetchsvn, xlibsWrapper, libXmu, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
# The last release from 2012, 0.12, lacks '-targets' # The last release from 2012, 0.12, lacks '-targets'
@ -9,9 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0d6r38xas5l79l700sdm14l41vvjqhah613367ha8kcvx54zkddz"; sha256 = "0d6r38xas5l79l700sdm14l41vvjqhah613367ha8kcvx54zkddz";
}; };
preConfigure = "autoreconf -vfi"; buildInputs = [ xlibsWrapper libXmu autoreconfHook ];
buildInputs = [ xlibsWrapper libXmu autoconf automake libtool ];
meta = { meta = {
description = "Tool to access the X clipboard from a console application"; description = "Tool to access the X clipboard from a console application";

View File

@ -1,9 +1,8 @@
{stdenv, fetchgit, automake, autoconf, zlib, pciutils}: { stdenv, fetchgit, autoreconfHook, zlib, pciutils }:
let
version = "0.6.1"; stdenv.mkDerivation rec {
in
stdenv.mkDerivation {
name = "biosdevname-${version}"; name = "biosdevname-${version}";
version = "0.6.1";
src = fetchgit { src = fetchgit {
url = git://linux.dell.com/biosdevname.git; url = git://linux.dell.com/biosdevname.git;
@ -12,16 +11,11 @@ stdenv.mkDerivation {
}; };
buildInputs = [ buildInputs = [
automake autoreconfHook
autoconf
zlib zlib
pciutils pciutils
]; ];
preConfigure = ''
autoreconf -i
'';
# Don't install /lib/udev/rules.d/*-biosdevname.rules # Don't install /lib/udev/rules.d/*-biosdevname.rules
patches = [ ./makefile.patch ]; patches = [ ./makefile.patch ];

View File

@ -1,4 +1,6 @@
{ stdenv, lib, fetchFromGitHub, autoconf, automake, libpcap, libjpeg, libungif, libpng, giflib, glib, gtk2, cairo, pango, gdk_pixbuf, atk, pkgconfig }: { stdenv, lib, fetchFromGitHub, libpcap, libjpeg , libungif, libpng
, giflib, glib, gtk2, cairo, pango, gdk_pixbuf, atk
, pkgconfig, autoreconfHook }:
with lib; with lib;
@ -6,9 +8,10 @@ stdenv.mkDerivation rec {
name = "driftnet-${stdenv.lib.strings.substring 0 7 rev}"; name = "driftnet-${stdenv.lib.strings.substring 0 7 rev}";
rev = "8d47fd563a06122d4a6f9b9b9d27ba3d635148c0"; rev = "8d47fd563a06122d4a6f9b9b9d27ba3d635148c0";
buildInputs = [ autoconf automake pkgconfig libpcap libjpeg libungif libpng giflib glib gtk2 glib cairo pango gdk_pixbuf atk ]; buildInputs = [
pkgconfig libpcap libjpeg libungif libpng giflib
preConfigure = "autoreconf -fi"; glib gtk2 glib cairo pango gdk_pixbuf atk autoreconfHook
];
src = fetchFromGitHub { src = fetchFromGitHub {
inherit rev; inherit rev;

View File

@ -1,4 +1,4 @@
{ fetchurl, stdenv, sqlite, pkgconfig, autoconf, automake { fetchurl, stdenv, sqlite, pkgconfig, autoreconfHook
, xapian, glib, gmime, texinfo , emacs, guile , xapian, glib, gmime, texinfo , emacs, guile
, gtk3, webkit, libsoup, icu, withMug ? false /* doesn't build with current gtk3 */ }: , gtk3, webkit, libsoup, icu, withMug ? false /* doesn't build with current gtk3 */ }:
@ -11,14 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "0wj33pma8xgjvn2akk7khzbycwn4c9sshxvzdph9dnpy7gyqxj51"; sha256 = "0wj33pma8xgjvn2akk7khzbycwn4c9sshxvzdph9dnpy7gyqxj51";
}; };
buildInputs = buildInputs = [
[ sqlite pkgconfig autoconf automake xapian sqlite pkgconfig xapian glib gmime texinfo emacs guile libsoup icu
glib gmime texinfo emacs guile libsoup icu ] autoreconfHook
++ stdenv.lib.optionals withMug [ gtk3 webkit ]; ] ++ stdenv.lib.optionals withMug [ gtk3 webkit ];
preConfigure = ''
autoreconf -i
'';
preBuild = '' preBuild = ''
# Fix mu4e-builddir (set it to $out) # Fix mu4e-builddir (set it to $out)

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip, autoconf, automake}: { stdenv, fetchzip, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "par2cmdline-${version}"; name = "par2cmdline-${version}";
@ -9,9 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0maywssv468ia7rf8jyq4axwahgli3nfykl7x3zip503psywjj8a"; sha256 = "0maywssv468ia7rf8jyq4axwahgli3nfykl7x3zip503psywjj8a";
}; };
buildInputs = [ autoconf automake ]; buildInputs = [ autoreconfHook ];
preConfigure = "autoreconf";
meta = { meta = {
homepage = https://github.com/BlackIkeEagle/par2cmdline; homepage = https://github.com/BlackIkeEagle/par2cmdline;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python, perl, autoconf, automake, libtool, intltool, flex, { stdenv, fetchFromGitHub, python, perl, intltool, flex, autoreconfHook,
texinfo, libiconv }: texinfo, libiconv }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -11,17 +11,13 @@ stdenv.mkDerivation rec {
sha256 = "06vyjqaraamcc5vka66mlvxj27ihccqc74aymv2wn8nphr2rhh03"; sha256 = "06vyjqaraamcc5vka66mlvxj27ihccqc74aymv2wn8nphr2rhh03";
}; };
nativeBuildInputs = [ python perl autoconf automake libtool intltool flex texinfo nativeBuildInputs = [ python perl intltool flex texinfo autoreconfHook libiconv ];
libiconv ];
preConfigure = '' preAutoreconf = ''
# fix build with new automake, https://bugs.gentoo.org/show_bug.cgi?id=419455 # fix build with new automake, https://bugs.gentoo.org/show_bug.cgi?id=419455
#rm acinclude.m4
substituteInPlace Makefile.am --replace "ACLOCAL = ./aclocal.sh @ACLOCAL@" "" substituteInPlace Makefile.am --replace "ACLOCAL = ./aclocal.sh @ACLOCAL@" ""
sed -i '/^AM_C_PROTOTYPES/d' configure.ac sed -i '/^AM_C_PROTOTYPES/d' configure.ac
substituteInPlace src/Makefile.am --replace "ansi2knr" "" substituteInPlace src/Makefile.am --replace "ansi2knr" ""
autoreconf -fi
'' ''
+ stdenv.lib.optionalString stdenv.isDarwin '' + stdenv.lib.optionalString stdenv.isDarwin ''
export LDFLAGS=-lintl export LDFLAGS=-lintl

View File

@ -1754,7 +1754,6 @@ let
grub = callPackage_i686 ../tools/misc/grub { grub = callPackage_i686 ../tools/misc/grub {
buggyBiosCDSupport = config.grub.buggyBiosCDSupport or true; buggyBiosCDSupport = config.grub.buggyBiosCDSupport or true;
automake = automake112x; # fails with 13 and 14
}; };
trustedGrub = callPackage_i686 ../tools/misc/grub/trusted.nix { }; trustedGrub = callPackage_i686 ../tools/misc/grub/trusted.nix { };
@ -2639,9 +2638,7 @@ let
paper-gtk-theme = callPackage ../misc/themes/gtk3/paper-gtk-theme { }; paper-gtk-theme = callPackage ../misc/themes/gtk3/paper-gtk-theme { };
par2cmdline = callPackage ../tools/networking/par2cmdline { par2cmdline = callPackage ../tools/networking/par2cmdline { };
automake = automake112x; # fails with 14
};
parallel = callPackage ../tools/misc/parallel { }; parallel = callPackage ../tools/misc/parallel { };
@ -13006,8 +13003,9 @@ let
gst_plugins_bad = null; gst_plugins_bad = null;
}; };
qutebrowser = qt5.callPackage ../applications/networking/browsers/qutebrowser { qutebrowser = qt55.callPackage ../applications/networking/browsers/qutebrowser {
inherit (python34Packages) buildPythonPackage python pyqt5 jinja2 pygments pyyaml pypeg2; inherit (python34Packages) buildPythonPackage python pyqt5 jinja2 pygments pyyaml pypeg2;
inherit (gst_all_1) gst-plugins-base gst-plugins-good gst-plugins-bad gst-libav;
}; };
rabbitvcs = callPackage ../applications/version-management/rabbitvcs {}; rabbitvcs = callPackage ../applications/version-management/rabbitvcs {};
@ -13056,9 +13054,7 @@ let
rkt = callPackage ../applications/virtualization/rkt { }; rkt = callPackage ../applications/virtualization/rkt { };
rofi = callPackage ../applications/misc/rofi { rofi = callPackage ../applications/misc/rofi { };
automake = automake114x;
};
rofi-pass = callPackage ../tools/security/pass/rofi-pass.nix { }; rofi-pass = callPackage ../tools/security/pass/rofi-pass.nix { };