treewide: move pkg-config, autoreconfHook, intltool to nativeBuildInputs

found with nixpkgs-lint
This commit is contained in:
Artturin 2022-09-25 05:49:25 +03:00
parent 6910a4eea0
commit 0734f54ef2
129 changed files with 235 additions and 192 deletions

View File

@ -28,8 +28,9 @@ stdenv.mkDerivation rec {
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gettext ncurses ]
++ lib.optionals gtkGUI [ pkg-config gtk2 ];
++ lib.optionals gtkGUI [ gtk2 ];
meta = with lib; {
description = "Audio mixer for X and the console";

View File

@ -12,9 +12,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [
cairo expat fftwSinglePrec fluidsynth glib gtk2 libjack2 ladspaH
libglade lv2 pkg-config
libglade lv2
];
meta = with lib; {

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ pkg-config fftwFloat alsa-lib zlib wavpack wxGTK31 udev ]
buildInputs = [ fftwFloat alsa-lib zlib wavpack wxGTK31 udev ]
++ lib.optional jackaudioSupport libjack2;
cmakeFlags = lib.optional (!jackaudioSupport) [

View File

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0vp25b970r1hv5ndzs4di63rgwnl31jfaj3jz5dka276kx34q4al";
};
buildInputs = [ pkg-config libltc libsndfile jack2 ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libltc libsndfile jack2 ];
makeFlags = [ "PREFIX=$(out)" ];

View File

@ -12,8 +12,9 @@ stdenv.mkDerivation rec {
patches = [ ./buf_rect.patch ./fix_build_with_gcc-5.patch];
nativeBuildInputs = [ pkg-config ];
buildInputs =
[ pkg-config SDL SDL_image libjack2
[ SDL SDL_image libjack2
];
meta = with lib; {

View File

@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-1KiWMTVTTf1/iR4AzJ1Oe0mOrWN5edsZN0tQMidgnRA=";
};
buildInputs = [ lv2 pkg-config ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ lv2 ];
makeFlags = [ "PREFIX=$(out)" ];

View File

@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
alsa-lib
boost
@ -33,7 +34,6 @@ stdenv.mkDerivation rec {
glibmm
gtkmm2
libjack2
pkg-config
python3
wafHook
];

View File

@ -9,8 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "1e4e72d8e0dd62a80b8dd90699f5ca64c9b0cb37a5c9325c184166a9654f0a92";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ flac lame zlib libjpeg libvorbis libtheora libxml2 lzo
libdvdread pkg-config x264 libmpeg2 xvidcore ];
libdvdread x264 libmpeg2 xvidcore ];
configureFlags = [
"--disable-ffmpeg" "--disable-libavcodec" "--disable-libavformat"
"--enable-lzo" "--enable-ogg" "--enable-vorbis" "--enable-theora" "--enable-libxml2"

View File

@ -10,9 +10,9 @@ stdenv.mkDerivation rec {
sha256 = "00nwv2pqjbmxqdc6xdm0cljq6z05lv4y6bibmhz1kih9lm0lklnk";
};
nativeBuildInputs = [ autoconf automake ];
nativeBuildInputs = [ autoconf automake pkg-config ];
buildInputs = [ alsa-lib dssi gtk2 libjack2 ladspaH
ladspaPlugins liblo pkg-config ];
ladspaPlugins liblo ];
installPhase = ''
mkdir -p $out/bin

View File

@ -8,8 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "0b0az2wvqgvam7w0ns1j8xp2llslm1rx6h7zcsy06a7j0yp257cm";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ intltool gtk2 ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ gtk2 ];
hardeningDisable = [ "format" ];

View File

@ -45,7 +45,8 @@ let
inherit (stdenv.hostPlatform) system;
}).nodeDependencies.override (old: {
inherit src version;
buildInputs = [pkg-config libsecret];
nativeBuildInputs = [ pkg-config ];
buildInputs = [libsecret];
dontNpmInstall = true;
}));

View File

@ -45,9 +45,9 @@ stdenv.mkDerivation rec {
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${shared-mime-info}/share")
'';
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [
gtk3 udev desktop-file-utils shared-mime-info intltool
gtk3 udev desktop-file-utils shared-mime-info
wrapGAppsHook ffmpegthumbnailer jmtpfs lsof udisks2
] ++ (if ifuseSupport then [ ifuse ] else []);
# Introduced because ifuse doesn't build due to CVEs in libplist

View File

@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1v1v0vcbnm30kpyd3rj8f56yh7lfnwy7nbs9785wi229b29fiqx1";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ fox gettext xlibsWrapper gcc intltool file libpng ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ fox gettext xlibsWrapper gcc file libpng ];
preConfigure = ''
sed -i s,/usr/share/xfe,$out/share/xfe, src/xfedefs.h

View File

@ -16,9 +16,9 @@ stdenv.mkDerivation rec {
})
];
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ intltool gtk2 ];
buildInputs = [ gtk2 ];
meta = with lib; {
description = "A simple and fast image viewer for X";

View File

@ -114,7 +114,6 @@ stdenv.mkDerivation {
gtk3
gtkmm3
imagemagick
intltool
libjack2
libsigcxx
libxmlxx

View File

@ -12,9 +12,10 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
nativeBuildInputs = [ intltool ];
buildInputs = [
aalib gsl libpng libX11 xorgproto libXext
libXt zlib gettext intltool perl
libXt zlib gettext perl
];
preConfigure = ''

View File

@ -13,11 +13,11 @@ stdenv.mkDerivation rec {
"--enable-SIGCHLD-fallback"
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
Xaw3d
ghostscriptX
perl
pkg-config
] ++ lib.optionals stdenv.isDarwin [
libiconv
];

View File

@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "db4e1655fc58f31e5770a17dfca4e6c89028ad8b2c8e043febc87a0beedeef05";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ intltool gtk3 texinfo ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ gtk3 texinfo ];
meta = {
description = "A GTK enabled dropin replacement for xmessage";

View File

@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0fbwd149wny67rfhczz4cbh713a1qnswjiz7b6c2bxfcwh51f9rc";
};
nativeBuildInputs = [ pkg-config automake autoconf ];
buildInputs = [ gtk2 libXft intltool libtool ];
nativeBuildInputs = [ pkg-config automake autoconf intltool ];
buildInputs = [ gtk2 libXft libtool ];
preConfigure = ''
./autogen.sh

View File

@ -20,11 +20,10 @@ stdenv.mkDerivation rec {
sha256 = "0nd44r8rbxifx4x4m24z5aji1c6k1fhw8cmf5s43wd5qys0bcdad";
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [
glib
intltool
udev
];

View File

@ -11,9 +11,9 @@ stdenv.mkDerivation rec {
sha256 = "1qpmlwn0bcw1q73ag0l0fdnlzmwawfvsy4g9y5b0vyrc58lcp5d3";
};
nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ];
nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook intltool ];
buildInputs = [ glib intltool gtk3 gtksourceview ];
buildInputs = [ glib gtk3 gtksourceview ];
meta = with lib; {
description = "A sticky note application for jotting down things to remember";

View File

@ -23,14 +23,14 @@ stdenv.mkDerivation rec {
sha256 = "0hl1i38z9xnbgfjkaz04vv1n8xbgfg88g5z8fyzyb2hxv2z37anf";
};
nativeBuildInputs = [ imake gccmakedep ];
nativeBuildInputs = [ imake gccmakedep pkg-config ];
buildInputs = [
libX11
libXt
libXext
libXpm
] ++ lib.optionals svgSupport [ librsvg glib gdk-pixbuf pkg-config ];
] ++ lib.optionals svgSupport [ librsvg glib gdk-pixbuf ];
outputs = [ "out" "man" ];

View File

@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
sha256 = "0xrc7crchflfrk4x5dq5zx22zkmgcrbkww5r1pvkc3cyyr18cc6h";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ pkg-config luajit openssl libpcap pcre libdnet daq zlib flex bison libtirpc ];
nativeBuildInputs = [ makeWrapper pkg-config ];
buildInputs = [ luajit openssl libpcap pcre libdnet daq zlib flex bison libtirpc ];
NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ];

View File

@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
postInstall = "ln -s \$out/lib/pidgin \$out/share/pidgin-otr";
buildInputs = [ libotr pidgin intltool ];
nativeBuildInputs = [ intltool ];
buildInputs = [ libotr pidgin ];
meta = with lib; {
homepage = "https://otr.cypherpunks.ca/";

View File

@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-CdA/aUu+CmCRbVBKpJGydicqFQa/rEsLWS3MBKlH2/M=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ glib intltool libappindicator-gtk2 libtool pidgin ];
nativeBuildInputs = [ autoreconfHook intltool ];
buildInputs = [ glib libappindicator-gtk2 libtool pidgin ];
meta = with lib; {
description = "An AppIndicator and KStatusNotifierItem Plugin for Pidgin";

View File

@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "0g5hmy7fwgjq59j52h9yps28jsjjrfkd4r18gyx6hfd3g3kzbg1b";
};
buildInputs = [ pidgin intltool python2 ];
nativeBuildInputs = [ intltool ];
buildInputs = [ pidgin python2 ];
meta = with lib; {
homepage = "https://bitbucket.org/rekkanoryo/purple-plugin-pack";

View File

@ -16,7 +16,7 @@ let unwrapped = stdenv.mkDerivation rec {
sha256 = "sha256-RUsbkovGvLsYM1OvMPv95VlfIkWjQjoaRubJei3yKBA=";
};
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper intltool ];
NIX_CFLAGS_COMPILE = "-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0";
@ -27,7 +27,7 @@ let unwrapped = stdenv.mkDerivation rec {
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
libxml2 nss nspr
libXScrnSaver python-with-dbus
avahi dbus dbus-glib intltool libidn
avahi dbus dbus-glib libidn
libICE libXext libSM cyrus_sasl
libgnt ncurses # optional: build finch - the console UI
]

View File

@ -31,10 +31,10 @@ stdenv.mkDerivation rec {
dontUseCmakeBuildDir = true;
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [
rsync
lua pkg-config
lua
asciidoc libxml2 docbook_xml_dtd_45 docbook_xsl libxslt
];

View File

@ -39,6 +39,7 @@ stdenv.mkDerivation rec {
gettext
makeWrapper
wrapGAppsHook
pkg-config
];
buildInputs = [
@ -55,7 +56,6 @@ stdenv.mkDerivation rec {
libofx
libxml2
libxslt
pkg-config
swig
webkitgtk
]

View File

@ -19,12 +19,11 @@ stdenv.mkDerivation rec {
sha256 = "sha256-vTrbq/xLTfwF7/YtKzZFiiSw8A0HzzWin2ry8gPHej8=";
};
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
nativeBuildInputs = [ pkg-config wrapGAppsHook intltool ];
buildInputs = [
gtk
libgsf
libofx
intltool
libsoup
gnome.adwaita-icon-theme
];

View File

@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-Rg6OjHLkwVIDnXqzqPXA8DxqSdrh2T6V/gLBND8vx9o=";
};
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
buildInputs = [ gtk libofx intltool libsoup gnome.adwaita-icon-theme ];
nativeBuildInputs = [ pkg-config wrapGAppsHook intltool ];
buildInputs = [ gtk libofx libsoup gnome.adwaita-icon-theme ];
meta = with lib; {
description = "Free, easy, personal accounting for everyone";

View File

@ -555,7 +555,6 @@ in
openssl
pam
perl
pkg-config
poppler
python3
sane-backends

View File

@ -3,7 +3,8 @@
stdenv.mkDerivation {
pname = "rtl-ais";
version = "0.8.1";
buildInputs = [ pkg-config rtl-sdr libusb1 ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ rtl-sdr libusb1 ];
src = fetchFromGitHub {
owner = "dgiardini";

View File

@ -10,7 +10,8 @@ mkDerivation rec {
patches = [
./remove-use-of-dlopen.patch
];
buildInputs = [ libpulseaudio alsa-lib pkg-config qtbase ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libpulseaudio alsa-lib qtbase ];
CFLAGS ="-lasound -lpulse-simple";
meta = with lib; {

View File

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
# glib-2.62 deprecations
NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
buildInputs = [ glib pkg-config gtk2 hamlib ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib gtk2 hamlib ];
meta = with lib; {
description = "An amateur radio logging program";

View File

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0msb09d2cnm8rlpg8bsc1lhjddvp3kf3i9dsj1qs4qgsdlzhxkyx";
};
buildInputs = [ autoreconfHook pkg-config zlib perl ];
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ zlib perl ];
meta = with lib; {
description = "A set of tools written in Perl and C++ for working with VCF files, such as those generated by the 1000 Genomes Project";

View File

@ -13,8 +13,9 @@ stdenv.mkDerivation rec {
};
patches = [ ./struct.patch ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [libglade gtk2 guile libxml2
perl intltool libtool pkg-config];
perl libtool ];
prebuild = ''
cp drgeo.desktop.in drgeo.desktop

View File

@ -23,10 +23,11 @@ stdenv.mkDerivation rec {
dontUseImakeConfigure = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [
bzip2 gfortran libX11 libXmu libXt libXt libjpeg libpng libtiff ncurses
pango pcre2 perl readline texLive xz zlib less texinfo graphviz icu
pkg-config bison imake which blas lapack curl tcl tk jdk
bison imake which blas lapack curl tcl tk jdk
] ++ lib.optionals stdenv.isDarwin [ Cocoa Foundation libobjc libcxx ];
patches = [

View File

@ -28,9 +28,9 @@ assert (!blas.isILP64) && (!lapack.isILP64);
# executable sage. No tests are run yet and no documentation is built.
let
nativeBuildInputs = [ pkg-config ];
buildInputs = [
pythonEnv # for patchShebangs
pkg-config
blas lapack
singular
three
@ -72,7 +72,7 @@ let
[]
);
allInputs = lib.remove null (buildInputs ++ pythonEnv.extraLibs ++ [ makeWrapper ]);
allInputs = lib.remove null (nativeBuildInputs ++ buildInputs ++ pythonEnv.extraLibs ++ [ makeWrapper ]);
transitiveDeps = lib.unique (builtins.concatLists (map transitiveClosure allInputs ));
# fix differences between spkg and sage names
# (could patch sage instead, but this is more lightweight and also works for packages depending on sage)
@ -91,7 +91,7 @@ stdenv.mkDerivation rec {
pname = "sage-with-env";
src = sage-env.lib.src;
inherit buildInputs;
inherit nativeBuildInputs buildInputs;
configurePhase = "#do nothing";

View File

@ -22,7 +22,8 @@ stdenv.mkDerivation rec {
sha256 = "1mqhmnlz32lvld9rc6c1hyz7gjw4anwf39yhbsjkikcgj1das0zl";
};
buildInputs = [ libX11 libXft libXi xorgproto libSM libICE freetype pkg-config which ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libX11 libXft libXi xorgproto libSM libICE freetype which ];
configureFlags = [
"--with-x"

View File

@ -44,9 +44,10 @@ stdenv.mkDerivation {
sha256 = "0badnkjsn3zps24r5iggj8k5v4f00npc77wqg92pcn1q5z8r677y";
};
nativeBuildInputs = [ pkg-config ];
buildInputs =
[ libX11 libXt libXft ncurses # required to build the terminfo file
fontconfig freetype pkg-config libXrender
fontconfig freetype libXrender
libptytty
] ++ optional perlSupport perl
++ optional gdkPixbufSupport gdk-pixbuf;

View File

@ -74,7 +74,7 @@ stdenv.mkDerivation (finalAttrs: {
done
'';
nativeBuildInputs = [ gettext perlPackages.perl makeWrapper ]
nativeBuildInputs = [ gettext perlPackages.perl makeWrapper pkg-config ]
++ lib.optionals withManual [ asciidoc texinfo xmlto docbook2x
docbook_xsl docbook_xml_dtd_45 libxslt ];
buildInputs = [ curl openssl zlib expat cpio libiconv bash ]
@ -82,7 +82,7 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optionals guiSupport [tcl tk]
++ lib.optionals withpcre2 [ pcre2 ]
++ lib.optionals stdenv.isDarwin [ Security CoreServices ]
++ lib.optionals withLibsecret [ pkg-config glib libsecret ];
++ lib.optionals withLibsecret [ glib libsecret ];
# required to support pthread_cancel()
NIX_LDFLAGS = lib.optionalString (stdenv.cc.isGNU && stdenv.hostPlatform.libc == "glibc") "-lgcc_s"

View File

@ -34,12 +34,11 @@ stdenv.mkDerivation {
"-Wno-error=incompatible-pointer-types"
];
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [
which
gnome.gnome-common
glib
intltool
libtool
cairo
gtk3

View File

@ -66,9 +66,9 @@ stdenv.mkDerivation (rec {
hardeningDisable = [ "stackprotector" "fortify" "pic" ];
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config cmake ];
buildInputs = [
cmake which
which
# Xen
bison bzip2 checkpolicy dev86 figlet flex gettext glib acpica-tools libaio

View File

@ -9,8 +9,9 @@ stdenv.mkDerivation rec {
url = "mirror://sourceforge/fbpanel/${pname}-${version}.tbz2";
sha256 = "e14542cc81ea06e64dd4708546f5fd3f5e01884c3e4617885c7ef22af8cf3965";
};
nativeBuildInputs = [ pkg-config ];
buildInputs =
[ pkg-config libX11 libXmu libXpm gtk2 libpng libjpeg libtiff librsvg gdk-pixbuf gdk-pixbuf-xlib.dev ];
[ libX11 libXmu libXpm gtk2 libpng libjpeg libtiff librsvg gdk-pixbuf gdk-pixbuf-xlib.dev ];
preConfigure = "patchShebangs .";

View File

@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
patches = [ ./rsvg-convert.patch ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ intltool iconnamingutils imagemagick librsvg ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ iconnamingutils imagemagick librsvg ];
propagatedBuildInputs = [ gnome-icon-theme hicolor-icon-theme ];
# still missing parent icon themes: cristalsvg

View File

@ -21,11 +21,10 @@ stdenv.mkDerivation rec {
./autogen.sh
'';
nativeBuildInputs = [ autoconf automake ];
nativeBuildInputs = [ autoconf automake intltool ];
buildInputs =
[
libtool
intltool
];
meta = with lib; {

View File

@ -102,7 +102,6 @@ stdenv.mkDerivation rec {
libXdamage
muffin
networkmanager
pkg-config
polkit
libxml2
libgnomekbd
@ -134,6 +133,7 @@ stdenv.mkDerivation rec {
gtk-doc
perl
python3.pkgs.wrapPython
pkg-config
];
# use locales from cinnamon-translations (not using --localedir because datadir is used)

View File

@ -26,13 +26,13 @@ stdenv.mkDerivation rec {
})
];
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config intltool ] ++ lib.optionals stdenv.isDarwin [ autoreconfHook ];
buildInputs = [
atk cairo glib gtk2
pango libxml2Python perl intltool
pango libxml2Python perl
gettext
] ++ optionals stdenv.isDarwin [
autoreconfHook gnome-common gtk-mac-integration-gtk2
gnome-common gtk-mac-integration-gtk2
];
preConfigure = optionalString stdenv.isDarwin ''

View File

@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
];
propagatedBuildInputs = [ gsettings-desktop-schemas gtk3 gnome-icon-theme GConf ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ intltool enchant isocodes autoreconfHook ];
nativeBuildInputs = [ pkg-config autoreconfHook intltool ];
buildInputs = [ enchant isocodes ];
}

View File

@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
#http://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg250091.html
patches = [ ./01_remove-disable-deprecated.patch ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 intltool GConf enchant isocodes gnome-icon-theme ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ gtk2 GConf enchant isocodes gnome-icon-theme ];
NIX_LDFLAGS = "-lgthread-2.0";
}

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ popt zlib intltool GConf gnome_vfs libcanberra-gtk2 libtool ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ popt zlib GConf gnome_vfs libcanberra-gtk2 libtool ];
propagatedBuildInputs = [ glib libbonobo libogg ];
}

View File

@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
patches = [ ./glib.patch ./cups_1.6.patch ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 gettext intltool libart_lgpl ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ gtk2 gettext libart_lgpl ];
propagatedBuildInputs = [ libxml2 ];
}

View File

@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 gettext intltool libart_lgpl libgnomecups bison flex ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ gtk2 gettext libart_lgpl libgnomecups bison flex ];
propagatedBuildInputs = [ libxml2 ];

View File

@ -9,6 +9,6 @@ stdenv.mkDerivation rec {
sha256 = "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 gettext intltool libgnomecanvas libgnomeprint gnome-icon-theme];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ gtk2 gettext libgnomecanvas libgnomeprint gnome-icon-theme];
}

View File

@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
updateScript = gnome.updateScript { packageName = "gnome-devel-docs"; attrPath = "gnome.gnome-devel-docs"; };
};
buildInputs = [ intltool itstool libxml2 ];
nativeBuildInputs = [ intltool ];
buildInputs = [ itstool libxml2 ];
meta = with lib; {
homepage = "https://github.com/GNOME/gnome-devel-docs";

View File

@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
updateScript = gnome.updateScript { packageName = "gtkhtml"; attrPath = "gnome.gtkhtml"; };
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk3 intltool gnome.adwaita-icon-theme
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ gtk3 gnome.adwaita-icon-theme
gsettings-desktop-schemas ];
propagatedBuildInputs = [ enchant isocodes ];

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "9fe3218d2ef50b91190162f4f923d6524c364849f87bcda8b4ed8eb59b80bab8";
};
buildInputs = [ intltool ];
nativeBuildInputs = [ intltool ];
meta = {
homepage = "https://lxde.org/";

View File

@ -7,7 +7,8 @@ gerbil-support.gerbilPackage {
gerbil-package = "clan/crypto";
gerbil = gerbil-unstable;
gerbilInputs = [gerbil-support.gerbilPackages-unstable.gerbil-utils];
buildInputs = [pkgs.secp256k1 pkgs.pkg-config];
nativeBuildInputs = [ pkgs.pkg-config ];
buildInputs = [pkgs.secp256k1 ];
gambit-params = gambit-support.unstable-params;
version-path = "version";
softwareName = "Gerbil-crypto";

View File

@ -24,12 +24,13 @@ rec {
gerbil ? pkgs.gerbil-unstable,
gambit-params ? pkgs.gambit-support.stable-params,
gerbilInputs ? [],
nativeBuildInputs ? [],
buildInputs ? [],
buildScript ? "./build.ss",
softwareName ? ""} :
let buildInputs_ = buildInputs; in
gccStdenv.mkDerivation rec {
inherit src meta pname version;
inherit src meta pname version nativeBuildInputs;
passthru = { inherit gerbil-package version-path ;};
buildInputs = [ gerbil ] ++ gerbilInputs ++ buildInputs_;
postPatch = ''

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation {
})
];
buildInputs = lib.optional stdenv.isDarwin autoreconfHook;
nativeBuildInputs = lib.optional stdenv.isDarwin autoreconfHook;
src = fetchurl {
url = "mirror://sourceforge/polyml/polyml.${version}.tar.gz";

View File

@ -24,13 +24,14 @@ stdenv.mkDerivation {
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
zlib sqlite gmp libffi cairo ncurses freetype
libGLU libGL libpng libtiff libjpeg readline libsndfile libxml2
freeglut libsamplerate pcre libevent libedit yajl
pkg-config glfw openssl libpthreadstubs libXdmcp
glfw openssl libpthreadstubs libXdmcp
libmemcached python3
];

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation {
owner = "vrthra";
};
nativeBuildInputs = [ makeWrapper unzip ];
nativeBuildInputs = [ makeWrapper unzip pkg-config ];
preConfigure = ''
cd build;
@ -25,7 +25,6 @@ stdenv.mkDerivation {
'';
buildInputs = [
pkg-config
ncurses
];

View File

@ -18,14 +18,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-uNcaeTelFNfg+YjPYc7nK4TrFDxJsEuPhsF8x1cvIYQ=";
};
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [
texinfo libXext xorgproto libX11 libXpm libXt libXcursor
alsa-lib zlib libpng libvorbis libXxf86dga libXxf86misc
libXxf86vm openal libGLU libGL
libjpeg flac
libXi libXfixes
enet libtheora freetype physfs libopus pkg-config gtk3 pcre libXdmcp
enet libtheora freetype physfs libopus gtk3 pcre libXdmcp
libpulseaudio libpthreadstubs
];

View File

@ -26,8 +26,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
outputBin = "dev";
nativeBuildInputs = [ makeWrapper ];
buildInputs = optional stdenv.isFreeBSD autoreconfHook;
nativeBuildInputs = [ makeWrapper ] ++ optional stdenv.isFreeBSD autoreconfHook;
configureFlags = [ "--with-apr=${apr.dev}" "--with-expat=${expat.dev}" ]
++ optional (!stdenv.isCygwin) "--with-crypto"

View File

@ -11,10 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "0kl1hzhb7cykzkrqcqgq1dk4xcgrcxv0jja251aq4z4l783jpj7j";
};
nativeBuildInputs = [ autoconf automake ];
nativeBuildInputs = [ autoconf automake pkg-config ];
buildInputs =
[ ladspaH libjack2 liblo alsa-lib qt4 libX11 libsndfile libSM
libsamplerate libtool xorgproto libICE pkg-config
libsamplerate libtool xorgproto libICE
];
meta = with lib; {

View File

@ -9,8 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "bc2a20cd3ac1e61fe0461bd3ee8cb250dbcc1fa511fad0686d267744e9c78f3a";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
stdenv pkg-config
stdenv
] ++ lib.optionals enableX11 [xorg.xorgserver xorg.libX11 xorg.libXext xorg.libXi];
configureFlags = lib.optional enableX11 "--with-x11";

View File

@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1cw1vg0fbj36zyggnzidx9cbjwfc1yr4zqmsipxnvns7xa2awbdk";
};
buildInputs = [ intltool openssl expat libgcrypt ];
nativeBuildInputs = [ intltool ];
buildInputs = [ openssl expat libgcrypt ];
patchPhase = ''
substituteInPlace configure \

View File

@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1db65pb0j0mijmswrvpgkdabilqd23x22d95hp5kwxvcramq1dhm";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ intltool gtk2 ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ gtk2 ];
meta = {
description = "Theme engines for GTK 2";

View File

@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "00hdv28bp72kg1mq2jdz1sdw2b8mb9iclsp7jdqwpck705bdriwg";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [aspell gtk2 enchant intltool];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [aspell gtk2 enchant];
meta = with lib; {
description = "Word-processor-style highlighting and replacement of misspelled words";

View File

@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
pname = "erfa";
version = "2.0.0";
buildInputs = [ autoreconfHook ];
nativeBuildInputs = [ autoreconfHook ];
src = fetchFromGitHub {
owner = "liberfa";

View File

@ -45,10 +45,11 @@ stdenv.mkDerivation rec {
-e "s|pexe[[:blank:]]*=.*$|pexe = strdup(\"$out/lib/\");|g"
'';
nativeBuildInputs = [ pkg-config ];
buildInputs =
[ libtool gettext zlib bzip2 flac libvorbis exiv2
libgsf rpm
pkg-config
] ++ lib.optionals gstreamerSupport
([ gst_all_1.gstreamer ] ++ gstPlugins gst_all_1)
++ lib.optionals gtkSupport [ glib gtk3 ]

View File

@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-J0cEaC5v4naO4GGUzdfV55kB7KzA+q+v64i5y5Xbp9Q=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
pkg-config
libusb1
];

View File

@ -33,10 +33,9 @@ stdenv.mkDerivation rec {
configureScript = "sh autogen.sh";
nativeBuildInputs = [ pkg-config automake autoconf ];
nativeBuildInputs = [ pkg-config automake autoconf intltool ];
buildInputs = [
libtool
intltool
gobject-introspection glib
gtk2 gtk-doc clutter clutter-gtk
];

View File

@ -11,9 +11,11 @@ stdenv.mkDerivation rec {
patches = [ ./libspectre-0.2.7-gs918.patch ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
# Need `libgs.so'.
pkg-config ghostscript cairo /*for tests*/
ghostscript cairo /*for tests*/
];
doCheck = true;

View File

@ -38,13 +38,13 @@ stdenv.mkDerivation rec {
];
buildInputs = [
pkg-config
zlib
];
nativeBuildInputs = [
ninja
meson
pkg-config
];
meta = with lib; {

View File

@ -33,7 +33,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [
autoreconfHook libsodium ncurses check libconfig
libsodium ncurses check libconfig
] ++ lib.optionals (!stdenv.isAarch32) [
libopus
];

View File

@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "devdoc" ];
outputBin = "dev";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 intltool xorg.libX11 xorg.libXres ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ gtk2 xorg.libX11 xorg.libXres ];
# ?another optional: startup-notification
configureFlags = [ "--disable-introspection" ]; # not needed anywhere AFAIK

View File

@ -45,7 +45,6 @@ mkDerivation rec {
libvorbis
libxml2
movit
pkg-config
qtbase
qtsvg
sox
@ -56,7 +55,7 @@ mkDerivation rec {
ladspaPlugins
];
nativeBuildInputs = [ cmake which ];
nativeBuildInputs = [ cmake which pkg-config ];
outputs = [ "out" "dev" ];

View File

@ -57,7 +57,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake unzip pkg-config ];
buildInputs =
[
cmake
libGLU
libGL
freetype

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
doCheck = true;
buildInputs = [
nativeBuildInputs = [
autoreconfHook
];

View File

@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-whbzoKIYLwj4yoFaT3frghJd/WzfpolSAuZzQRtnP5E=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ curl breakpad pkg-config ];
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ curl breakpad ];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
"-DSENTRY_BREAKPAD_SYSTEM=On"

View File

@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "05zcnnm4dfc6idihfi0fq5xka6x86zi89wip2ca19yz768sd33s9";
};
buildInputs = [ libusb-compat-0_1 libraw1394 dcraw intltool perl v4l-utils ];
nativeBuildInputs = [ intltool ];
buildInputs = [ libusb-compat-0_1 libraw1394 dcraw perl v4l-utils ];
patches = [
# Debian has a patch that fixes the build.

View File

@ -13,9 +13,8 @@ stdenv.mkDerivation rec {
sha256 = "0lngkvxnzn82rz558nvl96rvclrck07ja1pny7wcfixp9b68ppkn";
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [
autoreconfHook
nasm vapoursynth fftwFloat
];

View File

@ -16,9 +16,9 @@ stdenv.mkDerivation rec {
outputs = [ "out" "man" "dev" "py" ];
nativeBuildInputs = [ autoconf automake libtool pkg-config gettext swig ];
nativeBuildInputs = [ autoconf automake libtool pkg-config gettext swig autoreconfHook ];
buildInputs = [ autoreconfHook glib cryptsetup nss util-linux gpgme ncurses ];
buildInputs = [ glib cryptsetup nss util-linux gpgme ncurses ];
configureFlags = [
"--with-gpgme-prefix=${gpgme.dev}"

View File

@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "54e5b07be3c0f7b158302f54ee79d4de1cb002f4259b6642b79b1e0e314a959c";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gobject-introspection intltool glib gtk3 ncurses ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ gobject-introspection glib gtk3 ncurses ];
configureFlags = [ "--enable-introspection" ];

View File

@ -21,13 +21,12 @@ stdenv.mkDerivation {
outputs = [ "out" "dev" ];
nativeBuildInputs = [ autoconf automake ];
nativeBuildInputs = [ autoconf automake pkg-config ];
buildInputs = [
gnum4
gperf
libtool
libxcb
pkg-config
xorg.utilmacros
xorg.xcbutilimage
xorg.xcbutilrenderutil

View File

@ -427,7 +427,8 @@ with prev;
luv = prev.luaLib.overrideLuarocks prev.luv (drv: {
buildInputs = [ pkg-config libuv ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libuv ];
# Use system libuv instead of building local and statically linking
extraVariables = {

View File

@ -13,7 +13,8 @@ buildDunePackage rec {
sha256 = "1mpzcgbrha2l8iikqbmn32668v2mnnsykxg5n5jgs0qnskn2nvrn";
};
buildInputs = [ dune-configurator gsl pkg-config ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dune-configurator gsl ];
propagatedBuildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Accelerate ];
meta = with lib; {

View File

@ -572,7 +572,8 @@ in
};
ruby-libvirt = attrs: {
buildInputs = [ libvirt pkg-config ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libvirt ];
buildFlags = [
"--with-libvirt-include=${libvirt}/include"
"--with-libvirt-lib=${libvirt}/lib"

View File

@ -7,8 +7,8 @@ stdenv.mkDerivation rec {
url = "mirror://gnu/gnu/mdk/v${version}/mdk-${version}.tar.gz";
sha256 = "0bhk3c82kyp8167h71vdpbcr852h5blpnwggcswqqwvvykbms7lb";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ intltool glib ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ glib ];
postInstall = ''
mkdir -p $out/share/emacs/site-lisp/
cp -v ./misc/*.el $out/share/emacs/site-lisp

View File

@ -18,10 +18,11 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-zHdgVpe92OiwLC4jHVtT3oC+WnB30e5U3ZOHnmuo+Ao=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libunwind
lz4
pkg-config
] ++ (with python3.pkgs; [
cython
]);

View File

@ -17,8 +17,8 @@ let
sha256 = "0zjba1090awxkmgifr9jnjkxf41zhzc4f6mrnbayn3v6s77ca9x4";
};
nativeBuildInputs = [ pkg-config autoconf automake ];
buildInputs = [popt avahi pkg-config python3 gtk3 which procps libiberty_static];
nativeBuildInputs = [ pkg-config autoconf automake ];
buildInputs = [popt avahi python3 gtk3 which procps libiberty_static];
preConfigure =
''
export CPATH=$(ls -d ${gcc.cc}/lib/gcc/*/${gcc.cc.version}/plugin/include)

View File

@ -16,9 +16,11 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-fpermissive -Wno-error=narrowing -std=c++11"; # I'm too lazy to catch all gcc47-related problems
hardeningDisable = [ "format" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
SDL SDL_image SDL_mixer SDL_sound libsigcxx physfs boost expat
freetype libjpeg wxGTK lua perl pkg-config zlib zip bzip2 libpng
freetype libjpeg wxGTK lua perl zlib zip bzip2 libpng
libtiff fluidsynth libmikmod flac libvorbis libogg
];

View File

@ -13,11 +13,12 @@ stdenv.mkDerivation rec {
sha256 = "sha256-HIdJZeniSVM78VwI2rxh5gwFuz/VeJF4gBF/+KkQzU4=";
};
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [
libGLU libGL libX11 xorgproto tcl freeglut freetype
sfml libXi
libXmu libXext libXt libSM libICE
libpng pkg-config gettext intltool
libpng gettext
];
configureFlags = [ "--with-tcl=${tcl}/lib" ];

View File

@ -25,9 +25,11 @@ in stdenv.mkDerivation rec {
sha256 = "19xximbcm6506kvpf3s0q96697kmzca3yrjdr6dgphklp33zqsqr";
};
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [
SDL SDL_mixer SDL_image SDL_ttf SDL_gfx
pkg-config intltool fontconfig libzip zip zlib
fontconfig libzip zip zlib
];
preConfigure = ''

View File

@ -39,6 +39,7 @@ stdenv.mkDerivation rec {
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libX11
xorgproto
@ -51,7 +52,6 @@ stdenv.mkDerivation rec {
gnuchess
texinfo
libXpm
pkg-config
librsvg
cairo
pango

View File

@ -44,7 +44,7 @@ let
sha256 = "sha256:069z6ijmql62mcdyxnzc9mf0dxa6z1107cd0ab4i1adk8kr3d75k";
};
buildInputs = [ cups zlib jbigkit glib gtk3 pkg-config gnome2.libglade libxml2 gdk-pixbuf pango cairo atk ];
buildInputs = [ cups zlib jbigkit glib gtk3 gnome2.libglade libxml2 gdk-pixbuf pango cairo atk ];
in
stdenv.mkDerivation rec {
pname = "canon-cups-ufr2";
@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
)
'';
nativeBuildInputs = [ makeWrapper unzip autoconf automake libtool_1_5 ];
nativeBuildInputs = [ makeWrapper unzip autoconf automake libtool_1_5 pkg-config ];
inherit buildInputs;

View File

@ -21,9 +21,9 @@ stdenv.mkDerivation rec {
"--enable-imlib2"
];
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [
autoreconfHook libX11
libX11
pam libgcrypt libXrender imlib2
];

View File

@ -19,7 +19,8 @@ stdenv.mkDerivation {
mkdir m4
'';
buildInputs = [ autoreconfHook pkg-config glib expat libmicrohttpd ];
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ glib expat libmicrohttpd ];
meta = {
description = "Stubbed XMPP Server";

Some files were not shown because too many files have changed in this diff Show More