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 ] buildInputs = [ gettext ncurses ]
++ lib.optionals gtkGUI [ pkg-config gtk2 ]; ++ lib.optionals gtkGUI [ gtk2 ];
meta = with lib; { meta = with lib; {
description = "Audio mixer for X and the console"; description = "Audio mixer for X and the console";

View File

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

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config ]; 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; ++ lib.optional jackaudioSupport libjack2;
cmakeFlags = lib.optional (!jackaudioSupport) [ cmakeFlags = lib.optional (!jackaudioSupport) [

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1v1v0vcbnm30kpyd3rj8f56yh7lfnwy7nbs9785wi229b29fiqx1"; sha256 = "1v1v0vcbnm30kpyd3rj8f56yh7lfnwy7nbs9785wi229b29fiqx1";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ fox gettext xlibsWrapper gcc intltool file libpng ]; buildInputs = [ fox gettext xlibsWrapper gcc file libpng ];
preConfigure = '' preConfigure = ''
sed -i s,/usr/share/xfe,$out/share/xfe, src/xfedefs.h 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; { meta = with lib; {
description = "A simple and fast image viewer for X"; description = "A simple and fast image viewer for X";

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -11,9 +11,9 @@ stdenv.mkDerivation rec {
sha256 = "1qpmlwn0bcw1q73ag0l0fdnlzmwawfvsy4g9y5b0vyrc58lcp5d3"; 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; { meta = with lib; {
description = "A sticky note application for jotting down things to remember"; description = "A sticky note application for jotting down things to remember";

View File

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

View File

@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
sha256 = "0xrc7crchflfrk4x5dq5zx22zkmgcrbkww5r1pvkc3cyyr18cc6h"; sha256 = "0xrc7crchflfrk4x5dq5zx22zkmgcrbkww5r1pvkc3cyyr18cc6h";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper pkg-config ];
buildInputs = [ pkg-config luajit openssl libpcap pcre libdnet daq zlib flex bison libtirpc ]; buildInputs = [ luajit openssl libpcap pcre libdnet daq zlib flex bison libtirpc ];
NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ]; 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"; postInstall = "ln -s \$out/lib/pidgin \$out/share/pidgin-otr";
buildInputs = [ libotr pidgin intltool ]; nativeBuildInputs = [ intltool ];
buildInputs = [ libotr pidgin ];
meta = with lib; { meta = with lib; {
homepage = "https://otr.cypherpunks.ca/"; homepage = "https://otr.cypherpunks.ca/";

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0msb09d2cnm8rlpg8bsc1lhjddvp3kf3i9dsj1qs4qgsdlzhxkyx"; sha256 = "0msb09d2cnm8rlpg8bsc1lhjddvp3kf3i9dsj1qs4qgsdlzhxkyx";
}; };
buildInputs = [ autoreconfHook pkg-config zlib perl ]; nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ zlib perl ];
meta = with lib; { 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"; 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 ]; patches = [ ./struct.patch ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [libglade gtk2 guile libxml2 buildInputs = [libglade gtk2 guile libxml2
perl intltool libtool pkg-config]; perl libtool ];
prebuild = '' prebuild = ''
cp drgeo.desktop.in drgeo.desktop cp drgeo.desktop.in drgeo.desktop

View File

@ -23,10 +23,11 @@ stdenv.mkDerivation rec {
dontUseImakeConfigure = true; dontUseImakeConfigure = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [
bzip2 gfortran libX11 libXmu libXt libXt libjpeg libpng libtiff ncurses bzip2 gfortran libX11 libXmu libXt libXt libjpeg libpng libtiff ncurses
pango pcre2 perl readline texLive xz zlib less texinfo graphviz icu 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 ]; ] ++ lib.optionals stdenv.isDarwin [ Cocoa Foundation libobjc libcxx ];
patches = [ patches = [

View File

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

View File

@ -22,7 +22,8 @@ stdenv.mkDerivation rec {
sha256 = "1mqhmnlz32lvld9rc6c1hyz7gjw4anwf39yhbsjkikcgj1das0zl"; 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 = [ configureFlags = [
"--with-x" "--with-x"

View File

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

View File

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

View File

@ -66,9 +66,9 @@ stdenv.mkDerivation (rec {
hardeningDisable = [ "stackprotector" "fortify" "pic" ]; hardeningDisable = [ "stackprotector" "fortify" "pic" ];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config cmake ];
buildInputs = [ buildInputs = [
cmake which which
# Xen # Xen
bison bzip2 checkpolicy dev86 figlet flex gettext glib acpica-tools libaio 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"; url = "mirror://sourceforge/fbpanel/${pname}-${version}.tbz2";
sha256 = "e14542cc81ea06e64dd4708546f5fd3f5e01884c3e4617885c7ef22af8cf3965"; sha256 = "e14542cc81ea06e64dd4708546f5fd3f5e01884c3e4617885c7ef22af8cf3965";
}; };
nativeBuildInputs = [ pkg-config ];
buildInputs = 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 ."; preConfigure = "patchShebangs .";

View File

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

View File

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

View File

@ -102,7 +102,6 @@ stdenv.mkDerivation rec {
libXdamage libXdamage
muffin muffin
networkmanager networkmanager
pkg-config
polkit polkit
libxml2 libxml2
libgnomekbd libgnomekbd
@ -134,6 +133,7 @@ stdenv.mkDerivation rec {
gtk-doc gtk-doc
perl perl
python3.pkgs.wrapPython python3.pkgs.wrapPython
pkg-config
]; ];
# use locales from cinnamon-translations (not using --localedir because datadir is used) # 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 = [ buildInputs = [
atk cairo glib gtk2 atk cairo glib gtk2
pango libxml2Python perl intltool pango libxml2Python perl
gettext gettext
] ++ optionals stdenv.isDarwin [ ] ++ optionals stdenv.isDarwin [
autoreconfHook gnome-common gtk-mac-integration-gtk2 gnome-common gtk-mac-integration-gtk2
]; ];
preConfigure = optionalString stdenv.isDarwin '' preConfigure = optionalString stdenv.isDarwin ''

View File

@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
]; ];
propagatedBuildInputs = [ gsettings-desktop-schemas gtk3 gnome-icon-theme GConf ]; propagatedBuildInputs = [ gsettings-desktop-schemas gtk3 gnome-icon-theme GConf ];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config autoreconfHook intltool ];
buildInputs = [ intltool enchant isocodes autoreconfHook ]; 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 #http://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg250091.html
patches = [ ./01_remove-disable-deprecated.patch ]; patches = [ ./01_remove-disable-deprecated.patch ];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ gtk2 intltool GConf enchant isocodes gnome-icon-theme ]; buildInputs = [ gtk2 GConf enchant isocodes gnome-icon-theme ];
NIX_LDFLAGS = "-lgthread-2.0"; NIX_LDFLAGS = "-lgthread-2.0";
} }

View File

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

View File

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

View File

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

View File

@ -9,6 +9,6 @@ stdenv.mkDerivation rec {
sha256 = "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm"; sha256 = "0spl8vinb5n6n1krnfnr61dwaxidg67h8j94z9p59k2xdsvfashm";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ gtk2 gettext intltool libgnomecanvas libgnomeprint gnome-icon-theme]; 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"; }; updateScript = gnome.updateScript { packageName = "gnome-devel-docs"; attrPath = "gnome.gnome-devel-docs"; };
}; };
buildInputs = [ intltool itstool libxml2 ]; nativeBuildInputs = [ intltool ];
buildInputs = [ itstool libxml2 ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/GNOME/gnome-devel-docs"; 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"; }; updateScript = gnome.updateScript { packageName = "gtkhtml"; attrPath = "gnome.gtkhtml"; };
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ gtk3 intltool gnome.adwaita-icon-theme buildInputs = [ gtk3 gnome.adwaita-icon-theme
gsettings-desktop-schemas ]; gsettings-desktop-schemas ];
propagatedBuildInputs = [ enchant isocodes ]; propagatedBuildInputs = [ enchant isocodes ];

View File

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

View File

@ -7,7 +7,8 @@ gerbil-support.gerbilPackage {
gerbil-package = "clan/crypto"; gerbil-package = "clan/crypto";
gerbil = gerbil-unstable; gerbil = gerbil-unstable;
gerbilInputs = [gerbil-support.gerbilPackages-unstable.gerbil-utils]; 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; gambit-params = gambit-support.unstable-params;
version-path = "version"; version-path = "version";
softwareName = "Gerbil-crypto"; softwareName = "Gerbil-crypto";

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "05zcnnm4dfc6idihfi0fq5xka6x86zi89wip2ca19yz768sd33s9"; 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 = [ patches = [
# Debian has a patch that fixes the build. # Debian has a patch that fixes the build.

View File

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

View File

@ -16,9 +16,9 @@ stdenv.mkDerivation rec {
outputs = [ "out" "man" "dev" "py" ]; 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 = [ configureFlags = [
"--with-gpgme-prefix=${gpgme.dev}" "--with-gpgme-prefix=${gpgme.dev}"

View File

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

View File

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

View File

@ -427,7 +427,8 @@ with prev;
luv = prev.luaLib.overrideLuarocks prev.luv (drv: { 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 # Use system libuv instead of building local and statically linking
extraVariables = { extraVariables = {

View File

@ -13,7 +13,8 @@ buildDunePackage rec {
sha256 = "1mpzcgbrha2l8iikqbmn32668v2mnnsykxg5n5jgs0qnskn2nvrn"; 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 ]; propagatedBuildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Accelerate ];
meta = with lib; { meta = with lib; {

View File

@ -572,7 +572,8 @@ in
}; };
ruby-libvirt = attrs: { ruby-libvirt = attrs: {
buildInputs = [ libvirt pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ libvirt ];
buildFlags = [ buildFlags = [
"--with-libvirt-include=${libvirt}/include" "--with-libvirt-include=${libvirt}/include"
"--with-libvirt-lib=${libvirt}/lib" "--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"; url = "mirror://gnu/gnu/mdk/v${version}/mdk-${version}.tar.gz";
sha256 = "0bhk3c82kyp8167h71vdpbcr852h5blpnwggcswqqwvvykbms7lb"; sha256 = "0bhk3c82kyp8167h71vdpbcr852h5blpnwggcswqqwvvykbms7lb";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ intltool glib ]; buildInputs = [ glib ];
postInstall = '' postInstall = ''
mkdir -p $out/share/emacs/site-lisp/ mkdir -p $out/share/emacs/site-lisp/
cp -v ./misc/*.el $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="; hash = "sha256-zHdgVpe92OiwLC4jHVtT3oC+WnB30e5U3ZOHnmuo+Ao=";
}; };
nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [
libunwind libunwind
lz4 lz4
pkg-config
] ++ (with python3.pkgs; [ ] ++ (with python3.pkgs; [
cython cython
]); ]);

View File

@ -17,8 +17,8 @@ let
sha256 = "0zjba1090awxkmgifr9jnjkxf41zhzc4f6mrnbayn3v6s77ca9x4"; sha256 = "0zjba1090awxkmgifr9jnjkxf41zhzc4f6mrnbayn3v6s77ca9x4";
}; };
nativeBuildInputs = [ pkg-config autoconf automake ]; nativeBuildInputs = [ pkg-config autoconf automake ];
buildInputs = [popt avahi pkg-config python3 gtk3 which procps libiberty_static]; buildInputs = [popt avahi python3 gtk3 which procps libiberty_static];
preConfigure = preConfigure =
'' ''
export CPATH=$(ls -d ${gcc.cc}/lib/gcc/*/${gcc.cc.version}/plugin/include) 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 NIX_CFLAGS_COMPILE = "-fpermissive -Wno-error=narrowing -std=c++11"; # I'm too lazy to catch all gcc47-related problems
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [
SDL SDL_image SDL_mixer SDL_sound libsigcxx physfs boost expat 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 libtiff fluidsynth libmikmod flac libvorbis libogg
]; ];

View File

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

View File

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

View File

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

View File

@ -44,7 +44,7 @@ let
sha256 = "sha256:069z6ijmql62mcdyxnzc9mf0dxa6z1107cd0ab4i1adk8kr3d75k"; 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 in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "canon-cups-ufr2"; 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; inherit buildInputs;

View File

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

View File

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

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