Merge pull request #108022 from siraben/cmake-native-build-inputs

[staging] treewide: cmake buildInputs to nativeBuildInputs, minor cleanups

authored by Frederik Rietdijk and committed by GitHub 3f084952 645e99f8

+612 -635
+3 -3
pkgs/applications/audio/artyFX/default.nix
··· 1 - { stdenv, fetchFromGitHub , cairomm, cmake, libjack2, libpthreadstubs, libXdmcp, libxshmfence, libsndfile, lv2, ntk, pkgconfig }: 1 + { stdenv, fetchFromGitHub , cairomm, cmake, libjack2, libpthreadstubs, libXdmcp, libxshmfence, libsndfile, lv2, ntk, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "artyFX"; ··· 12 12 sha256 = "0wwg8ivnpyy0235bapjy4g0ij85zq355jwi6c1nkrac79p4z9ail"; 13 13 }; 14 14 15 - nativeBuildInputs = [ pkgconfig ]; 16 - buildInputs = [ cairomm cmake libjack2 libpthreadstubs libXdmcp libxshmfence libsndfile lv2 ntk ]; 15 + nativeBuildInputs = [ cmake pkg-config ]; 16 + buildInputs = [ cairomm libjack2 libpthreadstubs libXdmcp libxshmfence libsndfile lv2 ntk ]; 17 17 18 18 meta = with stdenv.lib; { 19 19 homepage = "http://openavproductions.com/artyfx/";
+3 -3
pkgs/applications/audio/eq10q/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, cmake, fftw, gtkmm2, libxcb, lv2, pkgconfig 1 + { stdenv, fetchurl, fetchpatch, cmake, fftw, gtkmm2, libxcb, lv2, pkg-config 2 2 , xorg }: 3 3 stdenv.mkDerivation rec { 4 4 pname = "eq10q"; ··· 8 8 sha256 = "16mhcav8gwkp29k9ki4dlkajlcgh1i2wvldabxb046d37dq4qzrk"; 9 9 }; 10 10 11 - nativeBuildInputs = [ pkgconfig ]; 12 - buildInputs = [ cmake fftw gtkmm2 libxcb lv2 xorg.libpthreadstubs xorg.libXdmcp xorg.libxshmfence ]; 11 + nativeBuildInputs = [ cmake pkg-config ]; 12 + buildInputs = [ fftw gtkmm2 libxcb lv2 xorg.libpthreadstubs xorg.libXdmcp xorg.libxshmfence ]; 13 13 14 14 patches = [ 15 15 (fetchpatch {
+2 -2
pkgs/applications/audio/eteroj.lv2/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkgconfig, libuv, lv2 }: 1 + { stdenv, fetchFromGitHub, cmake, pkg-config, libuv, lv2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "eteroj.lv2"; ··· 12 12 }; 13 13 14 14 buildInputs = [ libuv lv2 ]; 15 - nativeBuildInputs = [ cmake pkgconfig ]; 15 + nativeBuildInputs = [ cmake pkg-config ]; 16 16 17 17 meta = with stdenv.lib; { 18 18 description = "OSC injection/ejection from/to UDP/TCP/Serial for LV2";
+1 -1
pkgs/applications/audio/game-music-emu/default.nix
··· 9 9 sha256 = "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"; 10 10 }; 11 11 12 - buildInputs = [ cmake ]; 12 + nativeBuildInputs = [ cmake ]; 13 13 14 14 meta = with stdenv.lib; { 15 15 homepage = "https://bitbucket.org/mpyne/game-music-emu/wiki/Home";
+6 -7
pkgs/applications/audio/kid3/default.nix
··· 1 1 { stdenv, fetchurl 2 - , pkgconfig, cmake, python3, ffmpeg_3, phonon, automoc4 2 + , pkg-config, cmake, python3, ffmpeg_3, phonon, automoc4 3 3 , chromaprint, docbook_xml_dtd_45, docbook_xsl, libxslt 4 4 , id3lib, taglib, mp4v2, flac, libogg, libvorbis 5 5 , zlib, readline , qtbase, qttools, qtmultimedia, qtquickcontrols ··· 15 15 sha256 = "sha256-WYuEOqMu2VMOv6mkVCRXnmInFER/DWfPNqYuaTJ3vAc="; 16 16 }; 17 17 18 - nativeBuildInputs = [ wrapQtAppsHook ]; 19 - buildInputs = [ 20 - pkgconfig cmake python3 ffmpeg_3 phonon automoc4 21 - chromaprint docbook_xml_dtd_45 docbook_xsl libxslt 22 - id3lib taglib mp4v2 flac libogg libvorbis zlib readline 23 - qtbase qttools qtmultimedia qtquickcontrols ]; 18 + nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ]; 19 + buildInputs = [ python3 ffmpeg_3 phonon automoc4 chromaprint 20 + docbook_xml_dtd_45 docbook_xsl libxslt id3lib taglib mp4v2 flac 21 + libogg libvorbis zlib readline qtbase qttools qtmultimedia 22 + qtquickcontrols ]; 24 23 25 24 cmakeFlags = [ "-DWITH_APPS=Qt;CLI" ]; 26 25 NIX_LDFLAGS = "-lm -lpthread";
+2 -2
pkgs/applications/audio/ncpamixer/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, ncurses, libpulseaudio, pkgconfig }: 1 + { stdenv, fetchFromGitHub, cmake, ncurses, libpulseaudio, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 ··· 13 13 }; 14 14 15 15 buildInputs = [ ncurses libpulseaudio ]; 16 - nativeBuildInputs = [ cmake pkgconfig ]; 16 + nativeBuildInputs = [ cmake pkg-config ]; 17 17 18 18 configurePhase = '' 19 19 make PREFIX=$out build/Makefile
+5 -5
pkgs/applications/audio/petrifoo/default.nix
··· 1 1 { stdenv, fetchurl, alsaLib, cmake, gtk2, libjack2, libgnomecanvas 2 2 , libpthreadstubs, libsamplerate, libsndfile, libtool, libxml2 3 - , pkgconfig, openssl }: 3 + , pkg-config, openssl }: 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "petri-foo"; ··· 11 11 sha256 = "0b25iicgn8c42487fdw32ycfrll1pm2zjgy5djvgw6mfcaa4gizh"; 12 12 }; 13 13 14 - buildInputs = 15 - [ alsaLib cmake gtk2 libjack2 libgnomecanvas libpthreadstubs 16 - libsamplerate libsndfile libtool libxml2 pkgconfig openssl 17 - ]; 14 + nativeBuildInputs = [ cmake pkg-config ]; 15 + 16 + buildInputs = [ alsaLib gtk2 libjack2 libgnomecanvas libpthreadstubs 17 + libsamplerate libsndfile libtool libxml2 openssl ]; 18 18 19 19 meta = with stdenv.lib; { 20 20 description = "MIDI controllable audio sampler";
+4 -4
pkgs/applications/audio/sorcer/default.nix
··· 1 - { stdenv, fetchFromGitHub , boost, cairomm, cmake, libsndfile, lv2, ntk, pkgconfig, python }: 1 + { stdenv, fetchFromGitHub , boost, cairomm, cmake, libsndfile, lv2, ntk, pkg-config, python }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "sorcer"; ··· 11 11 sha256 = "1x7pi77nal10717l02qpnhrx6d7w5nqrljkn9zx5w7gpb8fpb3vp"; 12 12 }; 13 13 14 - nativeBuildInputs = [ pkgconfig ]; 15 - buildInputs = [ boost cairomm cmake libsndfile lv2 ntk python ]; 14 + nativeBuildInputs = [ cmake pkg-config ]; 15 + buildInputs = [ boost cairomm libsndfile lv2 ntk python ]; 16 16 17 17 postPatch = '' 18 18 # Fix build with lv2 1.18: https://github.com/brummer10/guitarix/commit/c0334c72 ··· 28 28 meta = with stdenv.lib; { 29 29 homepage = "http://openavproductions.com/sorcer/"; 30 30 description = "A wavetable LV2 plugin synth, targeted at the electronic / dubstep genre"; 31 - license = licenses.gpl3; 31 + license = licenses.gpl3Plus; 32 32 maintainers = [ maintainers.magnetophon ]; 33 33 platforms = platforms.linux; 34 34 };
+3 -3
pkgs/applications/audio/ympd/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkgconfig, mpd_clientlib, openssl }: 1 + { stdenv, fetchFromGitHub, cmake, pkg-config, mpd_clientlib, openssl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ympd"; ··· 11 11 sha256 = "1nvb19jd556v2h2bi7w4dcl507p3p8xvjkqfzrcsy7ccy3502brq"; 12 12 }; 13 13 14 - nativeBuildInputs = [ pkgconfig ]; 15 - buildInputs = [ cmake mpd_clientlib openssl ]; 14 + nativeBuildInputs = [ cmake pkg-config ]; 15 + buildInputs = [ mpd_clientlib openssl ]; 16 16 17 17 meta = { 18 18 homepage = "https://www.ympd.org";
+2 -2
pkgs/applications/audio/zynaddsubfx/default.nix
··· 1 1 { stdenv, fetchurl, alsaLib, cairo, cmake, libjack2, fftw, fltk13, lash, libjpeg 2 - , libXpm, minixml, ntk, pkgconfig, zlib, liblo 2 + , libXpm, minixml, ntk, pkg-config, zlib, liblo 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { ··· 12 12 }; 13 13 14 14 buildInputs = [ alsaLib cairo libjack2 fftw fltk13 lash libjpeg libXpm minixml ntk zlib liblo ]; 15 - nativeBuildInputs = [ cmake pkgconfig ]; 15 + nativeBuildInputs = [ cmake pkg-config ]; 16 16 17 17 patchPhase = '' 18 18 substituteInPlace src/Misc/Config.cpp --replace /usr $out
+2 -1
pkgs/applications/editors/bonzomatic/default.nix
··· 11 11 sha256 = "12mdfjvbhdqz1585772rj4cap8m4ijfci6ib62jysxjf747k41fg"; 12 12 }; 13 13 14 - buildInputs = [ cmake makeWrapper alsaLib mesa_glu libXcursor libXinerama libXrandr xorgserver ]; 14 + nativeBuildInputs = [ cmake makeWrapper ]; 15 + buildInputs = [ alsaLib mesa_glu libXcursor libXinerama libXrandr xorgserver ]; 15 16 16 17 postFixup = '' 17 18 wrapProgram $out/bin/Bonzomatic --prefix LD_LIBRARY_PATH : "${alsaLib}/lib"
+2 -1
pkgs/applications/editors/emacs-modes/melpa-packages.nix
··· 583 583 }; 584 584 585 585 vterm = super.vterm.overrideAttrs (old: { 586 - buildInputs = old.buildInputs ++ [ self.emacs pkgs.cmake pkgs.libvterm-neovim ]; 586 + nativeBuildInputs = [ pkgs.cmake ]; 587 + buildInputs = old.buildInputs ++ [ self.emacs pkgs.libvterm-neovim ]; 587 588 cmakeFlags = [ 588 589 "-DEMACS_SOURCE=${self.emacs.src}" 589 590 "-DUSE_SYSTEM_LIBVTERM=ON"
+2 -1
pkgs/applications/graphics/autopanosiftc/default.nix
··· 8 8 sha256 = "0dqk8ff82gmy4v5ns5nr9gpzkc1p7c2y8c8fkid102r47wsjk44s"; 9 9 }; 10 10 11 - buildInputs = [ cmake libpng libtiff libjpeg panotools libxml2 ]; 11 + nativeBuildInputs = [ cmake ]; 12 + buildInputs = [ libpng libtiff libjpeg panotools libxml2 ]; 12 13 13 14 patches = [ 14 15 (fetchurl {
+1 -1
pkgs/applications/graphics/freecad/default.nix
··· 27 27 ]; 28 28 29 29 buildInputs = [ 30 - cmake coin3d xercesc ode eigen opencascade-occt gts 30 + coin3d xercesc ode eigen opencascade-occt gts 31 31 zlib swig gfortran soqt libf2c makeWrapper mpi vtk hdf5 medfile 32 32 libGLU libXmu qtbase qttools qtwebengine qtxmlpatterns 33 33 ] ++ (with pythonPackages; [
+2 -2
pkgs/applications/graphics/freepv/default.nix
··· 9 9 sha256 = "1w19abqjn64w47m35alg7bcdl1p97nf11zn64cp4p0dydihmhv56"; 10 10 }; 11 11 12 - buildInputs = [ libjpeg libGLU libGL freeglut zlib cmake libX11 libxml2 libpng 13 - libXxf86vm ]; 12 + nativeBuildInputs = [ cmake ]; 13 + buildInputs = [ libjpeg libGLU libGL freeglut zlib libX11 libxml2 libpng libXxf86vm ]; 14 14 15 15 postPatch = '' 16 16 sed -i -e '/GECKO/d' CMakeLists.txt
+3 -3
pkgs/applications/graphics/pbrt/default.nix
··· 1 1 {stdenv, fetchFromGitHub, flex, bison, cmake, git, zlib}: 2 2 3 3 stdenv.mkDerivation { 4 - 5 4 version = "2018-08-15"; 6 5 pname = "pbrt-v3"; 7 6 ··· 18 17 ./openexr-cmake-3.12.patch 19 18 ]; 20 19 21 - buildInputs = [ git flex bison cmake zlib ]; 20 + nativeBuildInputs = [ flex bison cmake ]; 21 + buildInputs = [ zlib ]; 22 22 23 23 meta = with stdenv.lib; { 24 24 homepage = "http://pbrt.org"; 25 25 description = "The renderer described in the third edition of the book 'Physically Based Rendering: From Theory To Implementation'"; 26 - platforms = platforms.linux ; 26 + platforms = platforms.linux; 27 27 license = licenses.bsd2; 28 28 maintainers = [ maintainers.juliendehos ]; 29 29 priority = 10;
+2 -1
pkgs/applications/graphics/scantailor/default.nix
··· 8 8 sha256 = "1pjx3a6hs16az6rki59bchy3biy7jndjx8r125q01aq7lbf5npgg"; 9 9 }; 10 10 11 - buildInputs = [ qt4 cmake libjpeg libtiff boost ]; 11 + nativeBuildInputs = [ cmake ]; 12 + buildInputs = [ qt4 libjpeg libtiff boost ]; 12 13 13 14 enableParallelBuilding = true; 14 15
+3 -4
pkgs/applications/graphics/screencloud/default.nix
··· 9 9 # for tracking usage. 10 10 consumerKey = "23e747012c68601f27ab69c6de129ed70552d55b6"; 11 11 consumerSecret = "4701cb00c1bd357bbcae7c3d713dd216"; 12 - 12 + 13 13 src = fetchFromGitHub { 14 14 owner = "olav-st"; 15 15 repo = "screencloud"; ··· 17 17 sha256 = "1s0dxa1sa37nvna5nfqdsp294810favj68qb7ghl78qna7zw0cim"; 18 18 }; 19 19 20 - buildInputs = [ cmake qt4 quazip qt-mobility qxt pythonPackages.python pythonPackages.pycrypto ]; 20 + nativeBuildInputs = [ cmake ]; 21 + buildInputs = [ qt4 quazip qt-mobility qxt pythonPackages.python pythonPackages.pycrypto ]; 21 22 22 23 patchPhase = '' 23 24 # Required to make the configure script work. Normally, screencloud's ··· 27 28 # have nice things. 28 29 substituteInPlace "CMakeLists.txt" --replace "set(CMAKE_INSTALL_PREFIX \"/opt\")" "" 29 30 ''; 30 - 31 - enableParallelBuilding = true; 32 31 33 32 # We need to append /opt to our CMAKE_INSTALL_PREFIX, so we tell the Nix not 34 33 # to add the argument for us.
+2 -3
pkgs/applications/graphics/smartdeblur/default.nix
··· 16 16 cd src 17 17 ''; 18 18 19 - enableParallelBuilding = true; 20 - 21 - buildInputs = [ cmake qt4 fftw ]; 19 + nativeBuildInputs = [ cmake ]; 20 + buildInputs = [ qt4 fftw ]; 22 21 23 22 cmakeFlags = [ "-DUSE_SYSTEM_FFTW=ON" ]; 24 23
+3 -3
pkgs/applications/misc/apvlv/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchpatch, cmake, pkgconfig, pcre, libxkbcommon, epoxy 1 + { stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config, pcre, libxkbcommon, epoxy 2 2 , gtk3, poppler, freetype, libpthreadstubs, libXdmcp, libxshmfence, wrapGAppsHook 3 3 }: 4 4 ··· 16 16 NIX_CFLAGS_COMPILE = "-I${poppler.dev}/include/poppler"; 17 17 18 18 nativeBuildInputs = [ 19 - pkgconfig 19 + cmake 20 + pkg-config 20 21 wrapGAppsHook 21 22 ]; 22 23 23 24 buildInputs = [ 24 - cmake 25 25 poppler pcre libxkbcommon epoxy 26 26 freetype gtk3 27 27 libpthreadstubs libXdmcp libxshmfence # otherwise warnings in compilation
+6 -7
pkgs/applications/misc/dfilemanager/default.nix
··· 1 - { stdenv, mkDerivation, fetchgit, cmake, file, qtbase, qttools, solid }: 1 + { stdenv, fetchgit, cmake, file, qtbase, qttools, solid }: 2 2 3 - let 3 + stdenv.mkDerivation { 4 + pname = "dfilemanager"; 4 5 version = "git-2016-01-10"; 5 - in 6 - mkDerivation { 7 - pname = "dfilemanager"; 8 - inherit version; 6 + 9 7 src = fetchgit { 10 8 url = "git://git.code.sf.net/p/dfilemanager/code"; 11 9 rev = "2c5078b05e0ad74c037366be1ab3e6a03492bde4"; 12 10 sha256 = "1qwhnlcc2j8sr1f3v63sxs3m7q7w1xy6c2jqsnznjgm23b5h3hxd"; 13 11 }; 14 12 15 - buildInputs = [ cmake qtbase qttools file solid ]; 13 + nativeBuildInputs = [ cmake ]; 14 + buildInputs = [ qtbase qttools file solid ]; 16 15 17 16 cmakeFlags = [ "-DQT5BUILD=true" ]; 18 17
+3 -2
pkgs/applications/misc/keepassx/2.0.nix
··· 1 - { stdenv, fetchurl, cmake, libgcrypt, qt4, xorg, ... }: 1 + { stdenv, fetchurl, cmake, libgcrypt, qt4, xorg }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "keepassx2"; ··· 9 9 sha256 = "1ia7cqx9ias38mnffsl7da7g1f66bcbjsi23k49sln0c6spb9zr3"; 10 10 }; 11 11 12 - buildInputs = [ cmake libgcrypt qt4 xorg.libXtst ]; 12 + nativeBuildInputs = [ cmake ]; 13 + buildInputs = [ libgcrypt qt4 xorg.libXtst ]; 13 14 14 15 meta = { 15 16 description = "Qt password manager compatible with its Win32 and Pocket PC versions";
+3 -3
pkgs/applications/misc/kiwix/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, pkgconfig 1 + { stdenv, fetchurl, makeWrapper, pkg-config 2 2 , zip, python, zlib, which, icu, libmicrohttpd, lzma, aria2, wget, bc 3 3 , libuuid, libX11, libXext, libXt, libXrender, glib, dbus, dbus-glib 4 4 , gtk2, gdk-pixbuf, pango, cairo, freetype, fontconfig, alsaLib, atk, cmake ··· 38 38 sha256 = "0sqk0vdwjq44jxbbkj1cy8qykrmafs1sickzldb2w2nshsnjshhg"; 39 39 }; 40 40 41 - buildInputs = [ cmake ]; 41 + nativeBuildInputs = [ cmake ]; 42 42 43 43 unpackPhase = '' 44 44 # not a nice src archive: all the files are in the root :( ··· 62 62 sha256 = "0577phhy2na59cpcqjgldvksp0jwczyg0l6c9ghnr19i375l7yqc"; 63 63 }; 64 64 65 - nativeBuildInputs = [ pkgconfig ]; 65 + nativeBuildInputs = [ pkg-config ]; 66 66 buildInputs = [ 67 67 zip python zlib xapian which icu libmicrohttpd 68 68 lzma zimlib ctpp2 aria2 wget bc libuuid makeWrapper pugixml
+3 -3
pkgs/applications/misc/lenmus/default.nix
··· 1 - { stdenv, pkgconfig, fetchFromGitHub, fetchpatch 1 + { stdenv, pkg-config, fetchFromGitHub, fetchpatch 2 2 , cmake, boost 3 3 , portmidi, sqlite 4 4 , freetype, libpng, pngpp, zlib ··· 29 29 }) 30 30 ]; 31 31 32 - nativeBuildInputs = [ pkgconfig ]; 32 + nativeBuildInputs = [ cmake pkg-config ]; 33 33 buildInputs = [ 34 - cmake boost 34 + boost 35 35 portmidi sqlite 36 36 freetype libpng pngpp zlib 37 37 wxGTK30 wxsqlite3
+3 -5
pkgs/applications/misc/opencpn/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, cmake, gtk2, wxGTK30, libpulseaudio, curl, 1 + { stdenv, fetchFromGitHub, pkg-config, cmake, gtk2, wxGTK30, libpulseaudio, curl, 2 2 gettext, glib, portaudio }: 3 3 4 4 stdenv.mkDerivation rec { ··· 12 12 sha256 = "0yiqahkzwcbzgabc5xgxmwlngapkfiaqyva3mwz29xj0c5lg2bdk"; 13 13 }; 14 14 15 - nativeBuildInputs = [ pkgconfig ]; 16 - buildInputs = [ cmake gtk2 wxGTK30 libpulseaudio curl gettext 15 + nativeBuildInputs = [ cmake pkg-config ]; 16 + buildInputs = [ gtk2 wxGTK30 libpulseaudio curl gettext 17 17 glib portaudio ]; 18 18 19 19 cmakeFlags = [ 20 20 "-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include" 21 21 "-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include" 22 22 ]; 23 - 24 - enableParallelBuilding = true; 25 23 26 24 meta = { 27 25 description = "A concise ChartPlotter/Navigator";
+3 -3
pkgs/applications/misc/posterazor/default.nix
··· 1 - { stdenv, fetchurl, cmake, unzip, pkgconfig, libXpm, fltk13, freeimage }: 1 + { stdenv, fetchurl, cmake, unzip, pkg-config, libXpm, fltk13, freeimage }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "posterazor-1.5.1"; ··· 10 10 11 11 hardeningDisable = [ "format" ]; 12 12 13 - nativeBuildInputs = [ pkgconfig ]; 14 - buildInputs = [ cmake unzip libXpm fltk13 freeimage ]; 13 + nativeBuildInputs = [ cmake pkg-config unzip ]; 14 + buildInputs = [ libXpm fltk13 freeimage ]; 15 15 16 16 unpackPhase = '' 17 17 unzip $src -d posterazor
+2 -1
pkgs/applications/misc/sqliteman/default.nix
··· 11 11 sha256 = "1blzyh1646955d580f71slgdvz0nqx0qacryx0jc9w02yrag17cs"; 12 12 }; 13 13 14 - buildInputs = [ cmake qt4 qscintilla ]; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ qt4 qscintilla ]; 15 16 16 17 prePatch = '' 17 18 sed -i 's,m_file(0),m_file(QString()),' Sqliteman/sqliteman/main.cpp
-1
pkgs/applications/misc/tellico/default.nix
··· 42 42 ]; 43 43 44 44 buildInputs = [ 45 - cmake 46 45 exempi 47 46 extra-cmake-modules 48 47 karchive
+3 -3
pkgs/applications/networking/flent/http-getter.nix
··· 1 - { stdenv, fetchFromGitHub, cmake 2 - , curl, pkgconfig }: 1 + { stdenv, fetchFromGitHub, cmake, curl, pkg-config }: 3 2 4 3 stdenv.mkDerivation { 5 4 pname = "http-getter"; ··· 12 11 sha256 = "0plyqqwfm9bysichda0w3akbdxf6279wd4mx8mda0c4mxd4xy9nl"; 13 12 }; 14 13 15 - buildInputs = [ cmake pkgconfig curl ]; 14 + nativeBuildInputs = [ cmake pkg-config ]; 15 + buildInputs = [ curl ]; 16 16 17 17 meta = with stdenv.lib; { 18 18 homepage = "https://github.com/tohojo/http-getter";
+2 -1
pkgs/applications/networking/instant-messengers/pidgin-plugins/purple-vk-plugin/default.nix
··· 13 13 sha256 = "02p57fgx8ml00cbrb4f280ak2802svz80836dzk9f1zwm1bcr2qc"; 14 14 }; 15 15 16 - buildInputs = [ pidgin cmake libxml2 ]; 16 + nativeBuildInputs = [ cmake ]; 17 + buildInputs = [ pidgin libxml2 ]; 17 18 18 19 preConfigure = '' 19 20 sed -i -e 's|DESTINATION.*PURPLE_PLUGIN_DIR}|DESTINATION lib/purple-2|' CMakeLists.txt
+2 -5
pkgs/applications/networking/instant-messengers/ring-daemon/restbed.nix
··· 19 19 20 20 inherit patches; 21 21 22 - buildInputs = [ 23 - cmake 24 - asio 25 - openssl 26 - ]; 22 + nativeBuildInputs = [ cmake ]; 23 + buildInputs = [ asio openssl ]; 27 24 28 25 meta = with stdenv.lib; { 29 26 description = "HTTP framework for building networked applications";
+2 -2
pkgs/applications/networking/irc/quassel/default.nix
··· 54 54 # Prevent ``undefined reference to `qt_version_tag''' in SSL check 55 55 NIX_CFLAGS_COMPILE = "-DQT_NO_VERSION_TAGGING=1"; 56 56 57 - buildInputs = 58 - [ cmake makeWrapper qtbase ] 57 + nativeBuildInputs = [ cmake makeWrapper ]; 58 + buildInputs = [ qtbase ] 59 59 ++ lib.optionals buildCore [qtscript qca-qt5] 60 60 ++ lib.optionals buildClient [libdbusmenu phonon] 61 61 ++ lib.optionals (buildClient && withKDE) [
+4 -5
pkgs/applications/networking/irc/weechat/default.nix
··· 1 1 { stdenv, fetchurl, lib 2 2 , ncurses, openssl, aspell, gnutls, gettext 3 - , zlib, curl, pkgconfig, libgcrypt 3 + , zlib, curl, pkg-config, libgcrypt 4 4 , cmake, makeWrapper, libobjc, libresolv, libiconv 5 5 , asciidoctor # manpages 6 6 , guileSupport ? true, guile ··· 37 37 38 38 outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins; 39 39 40 - enableParallelBuilding = true; 41 40 cmakeFlags = with stdenv.lib; [ 42 41 "-DENABLE_MAN=ON" 43 42 "-DENABLE_DOC=ON" ··· 48 47 ++ map (p: "-D${p.cmakeFlag}=" + (if p.enabled then "ON" else "OFF")) plugins 49 48 ; 50 49 50 + nativeBuildInputs = [ cmake pkg-config makeWrapper asciidoctor ]; 51 51 buildInputs = with stdenv.lib; [ 52 - ncurses openssl aspell gnutls gettext zlib curl pkgconfig 53 - libgcrypt makeWrapper cmake asciidoctor 54 - ] 52 + ncurses openssl aspell gnutls gettext zlib curl 53 + libgcrypt ] 55 54 ++ optionals stdenv.isDarwin [ libobjc libresolv ] 56 55 ++ concatMap (p: p.buildInputs) enabledPlugins 57 56 ++ extraBuildInputs;
+2 -1
pkgs/applications/office/tagainijisho/default.nix
··· 7 7 sha256 = "0kmg1940yiqfm4vpifyj680283ids4nsij9s750nrshwxiwwbqvg"; 8 8 }; 9 9 10 - buildInputs = [ qt4 cmake sqlite ]; 10 + nativeBuildInputs = [ cmake ]; 11 + buildInputs = [ qt4 sqlite ]; 11 12 12 13 meta = with stdenv.lib; { 13 14 description = "A free, open-source Japanese dictionary and kanji lookup tool";
+4 -5
pkgs/applications/radio/gnuradio/ais.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkgconfig, boost, gnuradio 1 + { stdenv, fetchFromGitHub, cmake, pkg-config, boost, gnuradio 2 2 , makeWrapper, cppunit, gr-osmosdr, log4cpp 3 3 , pythonSupport ? true, python, swig 4 4 }: ··· 17 17 sha256 = "1b9j0kc74cw12a7jv4lii77dgzqzg2s8ndzp4xmisxksgva1qfvh"; 18 18 }; 19 19 20 - nativeBuildInputs = [ pkgconfig ]; 21 - buildInputs = [ 22 - cmake boost gnuradio makeWrapper cppunit gr-osmosdr log4cpp 23 - ] ++ stdenv.lib.optionals pythonSupport [ python swig ]; 20 + nativeBuildInputs = [ cmake makeWrapper pkg-config ]; 21 + buildInputs = [ boost gnuradio cppunit gr-osmosdr log4cpp ] 22 + ++ stdenv.lib.optionals pythonSupport [ python swig ]; 24 23 25 24 postInstall = '' 26 25 for prog in "$out"/bin/*; do
+3 -3
pkgs/applications/radio/gnuradio/gsm.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkgconfig, boost, gnuradio, log4cpp 1 + { stdenv, fetchFromGitHub, cmake, pkg-config, boost, gnuradio, log4cpp 2 2 , makeWrapper, cppunit, libosmocore, gr-osmosdr 3 3 , pythonSupport ? true, python, swig 4 4 }: ··· 16 16 sha256 = "13nnq927kpf91iqccr8db9ripy5czjl5jiyivizn6bia0bam2pvx"; 17 17 }; 18 18 19 - nativeBuildInputs = [ pkgconfig ]; 19 + nativeBuildInputs = [ cmake pkg-config ]; 20 20 buildInputs = [ 21 - cmake boost gnuradio makeWrapper cppunit libosmocore gr-osmosdr log4cpp 21 + boost gnuradio makeWrapper cppunit libosmocore gr-osmosdr log4cpp 22 22 ] ++ stdenv.lib.optionals pythonSupport [ python swig ]; 23 23 24 24 postInstall = ''
+3 -3
pkgs/applications/radio/gnuradio/nacl.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkgconfig, boost, gnuradio, uhd 1 + { stdenv, fetchFromGitHub, cmake, pkg-config, boost, gnuradio, uhd 2 2 , makeWrapper, libsodium, cppunit, log4cpp 3 3 , pythonSupport ? true, python, swig 4 4 }: ··· 16 16 sha256 = "018np0qlk61l7mlv3xxx5cj1rax8f1vqrsrch3higsl25yydbv7v"; 17 17 }; 18 18 19 - nativeBuildInputs = [ pkgconfig ]; 19 + nativeBuildInputs = [ cmake pkg-config ]; 20 20 buildInputs = [ 21 - cmake boost gnuradio uhd makeWrapper libsodium cppunit log4cpp 21 + boost gnuradio uhd makeWrapper libsodium cppunit log4cpp 22 22 ] ++ stdenv.lib.optionals pythonSupport [ python swig ]; 23 23 24 24 postInstall = ''
+3 -4
pkgs/applications/radio/gnuradio/osmosdr.nix
··· 1 - { stdenv, fetchgit, cmake, pkgconfig, makeWrapper 1 + { stdenv, fetchgit, cmake, pkg-config, makeWrapper 2 2 , boost 3 3 , pythonSupport ? true, python, swig 4 4 , airspy ··· 23 23 sha256 = "0bf9bnc1c3c4yqqqgmg3nhygj6rcfmyk6pybi27f7461d2cw1drv"; 24 24 }; 25 25 26 - nativeBuildInputs = [ pkgconfig ]; 26 + nativeBuildInputs = [ cmake makeWrapper pkg-config ]; 27 27 buildInputs = [ 28 - cmake makeWrapper boost log4cpp 29 - airspy gnuradio hackrf libbladeRF rtl-sdr uhd 28 + boost log4cpp airspy gnuradio hackrf libbladeRF rtl-sdr uhd 30 29 ] ++ stdenv.lib.optionals stdenv.isLinux [ soapysdr-with-plugins ] 31 30 ++ stdenv.lib.optionals pythonSupport [ python swig python.pkgs.cheetah ]; 32 31
+3 -3
pkgs/applications/radio/gnuradio/rds.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkgconfig, boost, gnuradio, log4cpp 1 + { stdenv, fetchFromGitHub, cmake, pkg-config, boost, gnuradio, log4cpp 2 2 , makeWrapper, pythonSupport ? true, python, swig 3 3 }: 4 4 ··· 15 15 sha256 = "0jkzchvw0ivcxsjhi1h0mf7k13araxf5m4wi5v9xdgqxvipjzqfy"; 16 16 }; 17 17 18 - nativeBuildInputs = [ pkgconfig ]; 18 + nativeBuildInputs = [ cmake pkg-config ]; 19 19 buildInputs = [ 20 - cmake boost gnuradio makeWrapper log4cpp 20 + boost gnuradio makeWrapper log4cpp 21 21 ] ++ stdenv.lib.optionals pythonSupport [ python swig ]; 22 22 23 23 postInstall = ''
+1 -2
pkgs/applications/radio/tqsl/default.nix
··· 9 9 sha256 = "00v4n8pvi5qi2psjnrw611w5gg5bdlaxbsny535fsci3smyygpc0"; 10 10 }; 11 11 12 - nativeBuildInputs = [ makeWrapper ]; 12 + nativeBuildInputs = [ cmake makeWrapper ]; 13 13 buildInputs = [ 14 - cmake 15 14 expat 16 15 openssl 17 16 zlib
+1 -1
pkgs/applications/science/astronomy/openspace/default.nix
··· 14 14 fetchSubmodules = true; 15 15 }; 16 16 17 + nativeBuildInputs = [ cmake makeWrapper ]; 17 18 buildInputs = [ 18 - makeWrapper cmake 19 19 curl boost gdal glew soil 20 20 libX11 libXi libXxf86vm libXcursor libXrandr libXinerama 21 21 ];
+1 -1
pkgs/applications/science/biology/cmtk/default.nix
··· 9 9 sha256 = "1nmsga9m7vcc4y4a6zl53ra3mwlgjwdgsq1j291awkn7zr1az6qs"; 10 10 }; 11 11 12 - buildInputs = [cmake]; 12 + nativeBuildInputs = [ cmake ]; 13 13 14 14 NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing"; 15 15
+2 -1
pkgs/applications/science/biology/somatic-sniper/default.nix
··· 13 13 14 14 patches = [ ./somatic-sniper.patch ]; 15 15 16 - buildInputs = [ cmake zlib ncurses ]; 16 + nativeBuildInputs = [ cmake ]; 17 + buildInputs = [ zlib ncurses ]; 17 18 18 19 enableParallelBuilding = false; 19 20
+3 -5
pkgs/applications/science/electronics/qfsm/default.nix
··· 1 - { stdenv, fetchurl, qt4, cmake, graphviz, pkgconfig }: 1 + { stdenv, fetchurl, qt4, cmake, graphviz, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "qfsm-0.54.0"; ··· 8 8 sha256 = "0rl7bc5cr29ng67yij4akciyid9z7npal812ys4c3m229vjvflrb"; 9 9 }; 10 10 11 - nativeBuildInputs = [ pkgconfig ]; 12 - buildInputs = [ qt4 cmake graphviz ]; 11 + nativeBuildInputs = [ cmake pkg-config ]; 12 + buildInputs = [ qt4 graphviz ]; 13 13 14 14 patches = [ 15 15 ./drop-hardcoded-prefix.patch ··· 17 17 ]; 18 18 19 19 hardeningDisable = [ "format" ]; 20 - 21 - enableParallelBuilding = true; 22 20 23 21 meta = { 24 22 description = "Graphical editor for finite state machines";
+2 -1
pkgs/applications/science/electronics/qucs/default.nix
··· 17 17 ./cmakelists.patch 18 18 ]; 19 19 20 - buildInputs = [ flex bison qt4 libX11 cmake gperf adms ]; 20 + nativeBuildInputs = [ cmake flex bison ]; 21 + buildInputs = [ qt4 libX11 gperf adms ]; 21 22 22 23 meta = { 23 24 description = "Integrated circuit simulator";
+2 -1
pkgs/applications/science/logic/avy/default.nix
··· 11 11 fetchSubmodules = true; 12 12 }; 13 13 14 - buildInputs = [ cmake zlib boost.out boost.dev ]; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ zlib boost.out boost.dev ]; 15 16 NIX_CFLAGS_COMPILE = toString ([ "-Wno-narrowing" ] 16 17 # Squelch endless stream of warnings on same few things 17 18 ++ stdenv.lib.optionals stdenv.cc.isClang [
+2 -2
pkgs/applications/science/logic/lean2/default.nix
··· 12 12 sha256 = "1xv3j487zhh1zf2b4v19xzw63s2sgjhg8d62a0kxxyknfmdf3khl"; 13 13 }; 14 14 15 - buildInputs = [ gmp mpfr cmake python gperftools ninja makeWrapper ]; 16 - enableParallelBuilding = true; 15 + nativeBuildInputs = [ cmake makeWrapper ninja ]; 16 + buildInputs = [ gmp mpfr python gperftools ]; 17 17 18 18 preConfigure = '' 19 19 patchShebangs bin/leantags
+2 -3
pkgs/applications/science/logic/mcrl2/default.nix
··· 10 10 sha256 = "1c8h94ja7271ph61zrcgnjgblxppld6v22f7f900prjgzbcfy14m"; 11 11 }; 12 12 13 - buildInputs = [ cmake libGLU libGL qt5.qtbase boost ]; 14 - 15 - enableParallelBuilding = true; 13 + nativeBuildInputs = [ cmake ]; 14 + buildInputs = [ libGLU libGL qt5.qtbase boost ]; 16 15 17 16 meta = with stdenv.lib; { 18 17 description = "A toolset for model-checking concurrent systems and protocols";
+2 -1
pkgs/applications/science/logic/monosat/default.nix
··· 31 31 core = stdenv.mkDerivation { 32 32 name = "${pname}-${version}"; 33 33 inherit src patches; 34 - buildInputs = [ cmake zlib gmp jdk8 ]; 34 + nativeBuildInputs = [ cmake ]; 35 + buildInputs = [ zlib gmp jdk8 ]; 35 36 36 37 cmakeFlags = [ 37 38 "-DBUILD_STATIC=OFF"
+2 -1
pkgs/applications/science/machine-learning/shogun/default.nix
··· 65 65 CCACHE_DISABLE="1"; 66 66 CCACHE_DIR=".ccache"; 67 67 68 + nativeBuildInputs = [ cmake ]; 68 69 buildInputs = with lib; [ 69 - blas lapack bzip2 cmake colpack curl ctags eigen hdf5 json_c lp_solve lzma lzo 70 + blas lapack bzip2 colpack curl ctags eigen hdf5 json_c lp_solve lzma lzo 70 71 protobuf nlopt snappy swig (libarchive.dev) libxml2 lapack glpk 71 72 ] 72 73 ++ optionals (pythonSupport) (with pythonPackages; [ python ply numpy ])
+2 -1
pkgs/applications/science/misc/gplates/default.nix
··· 10 10 sha256 = "1jrcv498vpcs8xklhbsgg12yfa90f96p2mwq6x5sjnrlpf8mh50b"; 11 11 }; 12 12 13 + nativeBuildInputs = [ cmake ]; 13 14 buildInputs = [ 14 - qt4 qwt6_qt4 libGLU libGL glew gdal cgal proj cmake python2 15 + qt4 qwt6_qt4 libGLU libGL glew gdal cgal proj python2 15 16 doxygen graphviz gmp mpfr 16 17 (boost.override { 17 18 enablePython = true;
+3 -3
pkgs/applications/science/misc/root/5.nix
··· 1 - { stdenv, fetchurl, fetchpatch, cmake, pcre, pkgconfig, python2 1 + { stdenv, fetchurl, fetchpatch, cmake, pcre, pkg-config, python2 2 2 , libX11, libXpm, libXft, libXext, libGLU, libGL, zlib, libxml2, lz4, lzma, gsl_1, xxHash 3 3 , Cocoa, OpenGL, noSplash ? false }: 4 4 ··· 11 11 sha256 = "1ln448lszw4d6jmbdphkr2plwxxlhmjkla48vmmq750xc1lxlfrc"; 12 12 }; 13 13 14 - nativeBuildInputs = [ pkgconfig ]; 15 - buildInputs = [ cmake pcre python2 zlib libxml2 lz4 lzma gsl_1 xxHash ] 14 + nativeBuildInputs = [ cmake pkg-config ]; 15 + buildInputs = [ pcre python2 zlib libxml2 lz4 lzma gsl_1 xxHash ] 16 16 ++ stdenv.lib.optionals (!stdenv.isDarwin) [ libX11 libXpm libXft libXext libGLU libGL ] 17 17 ++ stdenv.lib.optionals (stdenv.isDarwin) [ Cocoa OpenGL ] 18 18 ;
+2 -1
pkgs/applications/science/misc/vite/default.nix
··· 23 23 ln -sv "${externals}" externals 24 24 ''; 25 25 26 - buildInputs = [ cmake qt4 libGLU libGL ]; 26 + nativeBuildInputs = [ cmake ]; 27 + buildInputs = [ qt4 libGLU libGL ]; 27 28 28 29 NIX_LDFLAGS = "-lGLU"; 29 30
+2 -6
pkgs/applications/science/programming/scyther/cli.nix
··· 6 6 7 7 inherit src meta; 8 8 9 - buildInputs = [ 10 - cmake 11 - glibc.static 12 - flex 13 - bison 14 - ]; 9 + nativeBuildInputs = [ cmake flex bison ]; 10 + buildInputs = [ glibc.static ]; 15 11 16 12 patchPhase = '' 17 13 # Since we're not in a git dir, the normal command this project uses to create this file wouldn't work
+2 -3
pkgs/applications/science/robotics/yarp/default.nix
··· 11 11 sha256 = "0mphh899niy30xbjjwi9xpsliq8mladfldbbbjfngdrqfhiray1a"; 12 12 }; 13 13 14 - buildInputs = [ cmake ace ]; 15 - 16 - enableParallelBuilding = true; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ ace ]; 17 16 18 17 cmakeFlags = [ 19 18 "-DYARP_COMPILE_UNMAINTAINED:BOOL=ON"
+3 -2
pkgs/applications/version-management/sit/default.nix
··· 13 13 sha256 = "06xkhlfix0h6di6cnvc4blbj3mjy90scbh89dvywbx16wjlc79pf"; 14 14 }; 15 15 16 - buildInputs = [ cmake libzip gnupg ] ++ 17 - (if stdenv.isDarwin then [ libiconv CoreFoundation Security ] else []); 16 + nativeBuildInputs = [ cmake ]; 17 + buildInputs = [ libzip gnupg ] 18 + ++ (stdenv.lib.optionals stdenv.isDarwin [ libiconv CoreFoundation Security ]); 18 19 19 20 preCheck = '' 20 21 export HOME=$(mktemp -d)
+4 -3
pkgs/applications/video/kodi/plugins.nix
··· 47 47 sha256 = "1r3gs3c6zczmm66qcxh9mr306clwb3p7ykzb70r3jv5jqggiz199"; 48 48 }; 49 49 50 - buildInputs = [ cmake kodiPlain libcec_platform tinyxml ]; 50 + nativeBuildInputs = [ cmake ]; 51 + buildInputs = [ kodiPlain libcec_platform tinyxml ]; 51 52 }; 52 53 53 54 mkKodiPlugin = { plugin, namespace, version, sourceDir ? null, ... }@args: ··· 75 76 76 77 dontStrip = true; 77 78 78 - buildInputs = [ cmake kodiPlain kodi-platform libcec_platform ] 79 - ++ extraBuildInputs; 79 + nativeBuildInputs = [ cmake ]; 80 + buildInputs = [ kodiPlain kodi-platform libcec_platform ] ++ extraBuildInputs; 80 81 81 82 inherit extraRuntimeDependencies; 82 83
+2 -2
pkgs/applications/virtualization/xen/generic.nix
··· 1 1 config: 2 - { stdenv, cmake, pkgconfig, which 2 + { stdenv, cmake, pkg-config, which 3 3 4 4 # Xen 5 5 , bison, bzip2, checkpolicy, dev86, figlet, flex, gettext, glib ··· 66 66 67 67 hardeningDisable = [ "stackprotector" "fortify" "pic" ]; 68 68 69 - nativeBuildInputs = [ pkgconfig ]; 69 + nativeBuildInputs = [ pkg-config ]; 70 70 buildInputs = [ 71 71 cmake which 72 72
+4 -5
pkgs/data/misc/shared-desktop-ontologies/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "shared-desktop-ontologies-0.11.0"; 5 - 5 + 6 6 src = fetchurl { 7 7 url = "mirror://sourceforge/oscaf/${name}.tar.bz2"; 8 8 sha256 = "1m5vnijg7rnwg41vig2ckg632dlczzdab1gsq51g4x7m9k1fdbw2"; 9 9 }; 10 - 11 - buildInputs = [ cmake ]; 12 - 10 + 11 + nativeBuildInputs = [ cmake ]; 12 + 13 13 meta = with stdenv.lib; { 14 14 homepage = "http://oscaf.sourceforge.net/"; 15 15 description = "Ontologies necessary for the Nepomuk semantic desktop"; ··· 23 23 maintainers = [ maintainers.sander ]; 24 24 }; 25 25 } 26 -
+6 -10
pkgs/development/compilers/dale/default.nix
··· 1 1 { stdenv 2 2 , fetchFromGitHub 3 3 , cmake 4 - , pkgconfig 4 + , pkg-config 5 5 , libffi 6 6 , llvm_6 7 7 , doCheck ? false 8 8 , perl 9 9 }: 10 10 11 - let version = "20181024"; 12 - 13 - in stdenv.mkDerivation { 11 + stdenv.mkDerivation { 14 12 pname = "dale"; 15 - inherit version; 13 + version = "20181024"; 16 14 17 15 src = fetchFromGitHub { 18 16 owner = "tomhrr"; ··· 21 19 sha256 = "0v4ajrzrqvf279kd7wsd9flrpsav57lzxlwwimk9vnfwh7xpzf9v"; 22 20 }; 23 21 24 - nativeBuildInputs = [ pkgconfig ]; 25 - buildInputs = [ cmake libffi llvm_6 ] 26 - ++ stdenv.lib.optional doCheck perl; 22 + nativeBuildInputs = [ cmake pkg-config ]; 23 + buildInputs = [ libffi llvm_6 ]; 27 24 28 25 inherit doCheck; 26 + checkInputs = [ perl ]; 29 27 30 28 checkTarget = "tests"; 31 - 32 - enableParallelBuilding = true; 33 29 34 30 meta = with stdenv.lib; { 35 31 description = "Lisp-flavoured C";
+4 -4
pkgs/development/compilers/hhvm/default.nix
··· 1 - { stdenv, fetchgit, cmake, pkgconfig, boost, libunwind, libmemcached 1 + { stdenv, fetchgit, cmake, pkg-config, boost, libunwind, libmemcached 2 2 , pcre, libevent, gd, curl, libxml2, icu, flex, bison, openssl, zlib, php 3 3 , expat, libcap, oniguruma, libdwarf, libmcrypt, tbb, gperftools, glog, libkrb5 4 4 , bzip2, openldap, readline, libelf, uwimap, binutils, cyrus_sasl, pam, libpng ··· 18 18 fetchSubmodules = true; 19 19 }; 20 20 21 + nativeBuildInputs = [ cmake pkg-config flex bison ]; 21 22 buildInputs = 22 - [ cmake pkgconfig boost libunwind libmysqlclient libmemcached pcre gdb git perl 23 - libevent gd curl libxml2 icu flex bison openssl zlib php expat libcap 23 + [ boost libunwind libmysqlclient libmemcached pcre gdb git perl 24 + libevent gd curl libxml2 icu openssl zlib php expat libcap 24 25 oniguruma libdwarf libmcrypt tbb gperftools bzip2 openldap readline 25 26 libelf uwimap binutils cyrus_sasl pam glog libpng libxslt libkrb5 26 27 gmp libyaml libedit libvpx imagemagick fribidi gperf which ··· 31 32 ./flexible-array-members-gcc6.patch 32 33 ]; 33 34 34 - enableParallelBuilding = true; 35 35 dontUseCmakeBuildDir = true; 36 36 NIX_LDFLAGS = "-lpam -L${pam}/lib"; 37 37
+3 -3
pkgs/development/compilers/mono/generic.nix
··· 1 - { stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl, libgdiplus, libX11, callPackage, ncurses, zlib, withLLVM ? false, cacert, Foundation, libobjc, python3, version, sha256, autoconf, libtool, automake, cmake, which 1 + { stdenv, fetchurl, bison, pkg-config, glib, gettext, perl, libgdiplus, libX11, callPackage, ncurses, zlib, withLLVM ? false, cacert, Foundation, libobjc, python3, version, sha256, autoconf, libtool, automake, cmake, which 2 2 , gnumake42 3 3 , enableParallelBuilding ? true 4 4 , srcArchiveSuffix ? "tar.bz2" ··· 17 17 url = "https://download.mono-project.com/sources/mono/${pname}-${version}.${srcArchiveSuffix}"; 18 18 }; 19 19 20 - nativeBuildInputs = [ gnumake42 ]; 20 + nativeBuildInputs = [ automake bison cmake pkg-config which gnumake42 ]; 21 21 buildInputs = 22 - [ bison pkgconfig glib gettext perl libgdiplus libX11 ncurses zlib python3 autoconf libtool automake cmake which 22 + [ glib gettext perl libgdiplus libX11 ncurses zlib python3 autoconf libtool 23 23 ] 24 24 ++ (stdenv.lib.optionals stdenv.isDarwin [ Foundation libobjc ]); 25 25
+2 -1
pkgs/development/compilers/mono/llvm.nix
··· 24 24 sha256 = "07wd1cs3fdvzb1lv41b655z5zk34f47j8fgd9ljjimi5j9pj71f7"; 25 25 }; 26 26 27 - buildInputs = [ perl groff cmake libxml2 python2 libffi ] ++ lib.optional stdenv.isLinux valgrind; 27 + nativeBuildInputs = [ cmake ]; 28 + buildInputs = [ perl groff libxml2 python2 libffi ] ++ lib.optional stdenv.isLinux valgrind; 28 29 29 30 propagatedBuildInputs = [ ncurses zlib ]; 30 31
+4 -4
pkgs/development/compilers/osl/default.nix
··· 18 18 }; 19 19 20 20 cmakeFlags = [ "-DUSE_BOOST_WAVE=ON" "-DENABLERTTI=ON" ]; 21 - enableParallelBuilding = true; 22 21 23 22 preConfigure = '' patchShebangs src/liboslexec/serialize-bc.bash ''; 24 - 23 + 24 + nativeBuildInputs = [ cmake boost_static flex bison]; 25 25 buildInputs = [ 26 - cmake zlib openexr openimageio llvm 27 - boost_static flex bison partio pugixml 26 + zlib openexr openimageio llvm 27 + partio pugixml 28 28 util-linux # needed just for hexdump 29 29 python # CMake doesn't check this? 30 30 ];
+2 -1
pkgs/development/compilers/ponyc/default.nix
··· 29 29 name = "v1.5.0.tar.gz"; 30 30 }; 31 31 32 - buildInputs = [ makeWrapper which libxml2 cmake z3 ]; 32 + nativeBuildInputs = [ cmake makeWrapper which ]; 33 + buildInputs = [ libxml2 z3 ]; 33 34 propagatedBuildInputs = [ cc ]; 34 35 35 36 # Sandbox disallows network access, so disabling problematic networking tests
+2 -1
pkgs/development/compilers/seexpr/default.nix
··· 12 12 sha256 = "0a44k56jf6dl36fwgg4zpc252wq5lf9cblg74mp73k82hxw439l4"; 13 13 }; 14 14 15 - buildInputs = [ cmake libGLU libpng zlib qt4 pythonPackages.pyqt4 bison flex ]; 15 + nativeBuildInputs = [ cmake ]; 16 + buildInputs = [ libGLU libpng zlib qt4 pythonPackages.pyqt4 bison flex ]; 16 17 meta = with stdenv.lib; { 17 18 description = "Embeddable expression evaluation engine from Disney Animation"; 18 19 homepage = "https://www.disneyanimation.com/technology/seexpr.html";
+2 -1
pkgs/development/interpreters/proglodyte-wasm/default.nix
··· 14 14 # set this to nonempty string to disable default cmake configure 15 15 ''; 16 16 17 - buildInputs = [ cmake clang python ]; 17 + nativeBuildInputs = [ cmake ]; 18 + buildInputs = [ clang python ]; 18 19 19 20 buildPhase = "make clang-debug-no-tests"; 20 21
+1 -1
pkgs/development/libraries/NSPlist/default.nix
··· 10 10 sha256 = "0v4yfiwfd08hmh2ydgy6pnmlzjbd96k78dsla9pfd56ka89aw74r"; 11 11 }; 12 12 13 - buildInputs = [ cmake ]; 13 + nativeBuildInputs = [ cmake ]; 14 14 15 15 meta = with stdenv.lib; { 16 16 maintainers = with maintainers; [ matthewbauer ];
+2 -2
pkgs/development/libraries/PlistCpp/default.nix
··· 10 10 sha256 = "10jn6bvm9vn6492zix2pd724v5h4lccmkqg3lxfw8r0qg3av0yzv"; 11 11 }; 12 12 13 - buildInputs = [ cmake boost NSPlist pugixml ]; 14 - 13 + nativeBuildInputs = [ cmake ]; 14 + buildInputs = [ boost NSPlist pugixml ]; 15 15 16 16 meta = with stdenv.lib; { 17 17 maintainers = with maintainers; [ matthewbauer ];
+2 -1
pkgs/development/libraries/alure/default.nix
··· 9 9 sha256 = "0w8gsyqki21s1qb2s5ac1kj08i6nc937c0rr08xbw9w9wvd6lpj6"; 10 10 }; 11 11 12 - buildInputs = [ cmake openal ]; 12 + nativeBuildInputs = [ cmake ]; 13 + buildInputs = [ openal ]; 13 14 14 15 meta = with stdenv.lib; { 15 16 description = "A utility library to help manage common tasks with OpenAL applications";
+2 -1
pkgs/development/libraries/assimp/default.nix
··· 11 11 sha256 = "00vxzfcrs856qnyk806wqr67nmpjk06mjby0fqmyhm6i1jj2hg1w"; 12 12 }; 13 13 14 - buildInputs = [ cmake boost zlib ]; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ boost zlib ]; 15 16 16 17 meta = with stdenv.lib; { 17 18 description = "A library to import various 3D model formats";
+3 -3
pkgs/development/libraries/audio/jamomacore/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, alsaLib, portaudio, portmidi, libsndfile, cmake, libxml2 }: 1 + { stdenv, fetchFromGitHub, pkg-config, alsaLib, portaudio, portmidi, libsndfile, cmake, libxml2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.0-beta.1"; ··· 11 11 sha256 = "1hb9b6qc18rsvzvixgllknn756m6zwcn22c79rdibbyz1bhrcnln"; 12 12 }; 13 13 14 - nativeBuildInputs = [ pkgconfig ]; 15 - buildInputs = [ alsaLib portaudio portmidi libsndfile cmake libxml2 ]; 14 + nativeBuildInputs = [ cmake pkg-config ]; 15 + buildInputs = [ alsaLib portaudio portmidi libsndfile libxml2 ]; 16 16 17 17 meta = { 18 18 description = "A C++ platform for building dynamic and reflexive systems with an emphasis on audio and media";
+1 -3
pkgs/development/libraries/audio/libgme/default.nix
··· 20 20 sha256 = "100ahb4n4pvgcry9xzlf2fr4j57n5h9x7pvyhhxys4dcy8axqqsy"; 21 21 }; 22 22 23 - buildInputs = [ cmake ]; 24 - 25 - nativeBuildInputs = [ removeReferencesTo ]; 23 + nativeBuildInputs = [ cmake removeReferencesTo ]; 26 24 27 25 # It used to reference it, in the past, but thanks to the postFixup hook, now 28 26 # it doesn't.
+2 -5
pkgs/development/libraries/avro-c++/default.nix
··· 11 11 sha256 = "1ars58bfw83s8f1iqbhnqp4n9wc9cxsph0gs2a8k7r9fi09vja2k"; 12 12 }; 13 13 14 - buildInputs = [ 15 - cmake 16 - python2 17 - boost 18 - ]; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ python2 boost ]; 19 16 20 17 preConfigure = '' 21 18 substituteInPlace test/SchemaTests.cc --replace "BOOST_CHECKPOINT" "BOOST_TEST_CHECKPOINT"
+3 -5
pkgs/development/libraries/box2d/default.nix
··· 1 1 { stdenv, fetchurl, unzip, cmake, libGLU, libGL, freeglut, libX11, xorgproto 2 - , libXi, pkgconfig }: 2 + , libXi, pkg-config }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "box2d"; ··· 12 12 13 13 sourceRoot = "Box2D-${version}/Box2D"; 14 14 15 - nativeBuildInputs = [ pkgconfig ]; 16 - buildInputs = [ 17 - unzip cmake libGLU libGL freeglut libX11 xorgproto libXi 18 - ]; 15 + nativeBuildInputs = [ cmake unzip pkg-config ]; 16 + buildInputs = [ libGLU libGL freeglut libX11 xorgproto libXi ]; 19 17 20 18 cmakeFlags = [ 21 19 "-DBOX2D_INSTALL=ON"
+2 -2
pkgs/development/libraries/cegui/default.nix
··· 9 9 sha256 = "067562s71kfsnbp2zb2bmq8zj3jk96g5a4rcc5qc3n8nfyayhldk"; 10 10 }; 11 11 12 - 13 - buildInputs = [ cmake ogre freetype boost expat ]; 12 + nativeBuildInputs = [ cmake ]; 13 + buildInputs = [ ogre freetype boost expat ]; 14 14 15 15 meta = with stdenv.lib; { 16 16 homepage = "http://cegui.org.uk/";
+2 -1
pkgs/development/libraries/cpp-ipfs-api/default.nix
··· 11 11 sha256 = "1z6gbd7npg4pd9wmdyzcp9h12sg84d7a43c69pp4lzqkyqg8pz1g"; 12 12 }; 13 13 14 - buildInputs = [ cmake curl ]; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ curl ]; 15 16 propagatedBuildInputs = [ nlohmann_json ]; 16 17 17 18 meta = with stdenv.lib; {
+2 -3
pkgs/development/libraries/cpp-netlib/default.nix
··· 12 12 fetchSubmodules = true; 13 13 }; 14 14 15 - buildInputs = [ cmake boost openssl ]; 15 + nativeBuildInputs = [ cmake ]; 16 + buildInputs = [ boost openssl ]; 16 17 17 18 cmakeFlags = [ 18 19 "-DCPP-NETLIB_BUILD_SHARED_LIBS=ON" 19 20 ]; 20 - 21 - enableParallelBuilding = true; 22 21 23 22 # The test driver binary lacks an RPath to the library's libs 24 23 preCheck = ''
+2 -3
pkgs/development/libraries/cppcms/default.nix
··· 9 9 sha256 = "0lmcdjzicmzhnr8pa0q3f5lgapz2cnh9w0dr56i4kj890iqwgzhh"; 10 10 }; 11 11 12 - enableParallelBuilding = true; 13 - 14 - buildInputs = [ cmake pcre zlib python openssl ]; 12 + nativeBuildInputs = [ cmake ]; 13 + buildInputs = [ pcre zlib python openssl ]; 15 14 16 15 cmakeFlags = [ 17 16 "--no-warn-unused-cli"
+2 -3
pkgs/development/libraries/cppdb/default.nix
··· 9 9 sha256 = "0blr1casmxickic84dxzfmn3lm7wrsl4aa2abvpq93rdfddfy3nn"; 10 10 }; 11 11 12 - enableParallelBuilding = true; 13 - 14 - buildInputs = [ cmake sqlite libmysqlclient postgresql unixODBC ]; 12 + nativeBuildInputs = [ cmake ]; 13 + buildInputs = [ sqlite libmysqlclient postgresql unixODBC ]; 15 14 16 15 cmakeFlags = [ "--no-warn-unused-cli" ]; 17 16 NIX_CFLAGS_COMPILE = "-I${libmysqlclient}/include/mysql -L${libmysqlclient}/lib/mysql";
+2 -1
pkgs/development/libraries/csfml/default.nix
··· 13 13 rev = version; 14 14 sha256 = "071magxif5nrdddzk2z34czqmz1dfws4d7dqynb2zpn7cwhwxcpm"; 15 15 }; 16 - buildInputs = [ cmake sfml ]; 16 + nativeBuildInputs = [ cmake ]; 17 + buildInputs = [ sfml ]; 17 18 cmakeFlags = [ "-DCMAKE_MODULE_PATH=${sfml}/share/SFML/cmake/Modules/" ]; 18 19 19 20 meta = with stdenv.lib; {
+1 -1
pkgs/development/libraries/ctpp2/default.nix
··· 9 9 sha256 = "1z22zfw9lb86z4hcan9hlvji49c9b7vznh7gjm95gnvsh43zsgx8"; 10 10 }; 11 11 12 - buildInputs = [ cmake ]; 12 + nativeBuildInputs = [ cmake ]; 13 13 14 14 patchPhase = '' 15 15 # include <unistd.h> to fix undefined getcwd
+3 -3
pkgs/development/libraries/curlcpp/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, curl }: 1 + { stdenv, fetchFromGitHub, cmake, curl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "curlcpp"; ··· 11 11 sha256 = "1zx76jcddqk4zkcdb6p7rsmkjbbjm2cj6drj0c8hdd61ms1d0f3n"; 12 12 }; 13 13 14 - buildInputs = [ cmake curl ]; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ curl ]; 15 16 16 17 meta = with stdenv.lib; { 17 18 homepage = "https://josephp91.github.io/curlcpp/"; ··· 21 22 maintainers = with maintainers; [ rszibele ]; 22 23 }; 23 24 } 24 -
+5 -5
pkgs/development/libraries/embree/2.x.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkgconfig, ispc, tbb, glfw, 1 + { stdenv, fetchFromGitHub, cmake, pkg-config, ispc, tbb, glfw, 2 2 openimageio, libjpeg, libpng, libpthreadstubs, libX11 3 3 }: 4 4 ··· 14 14 }; 15 15 16 16 cmakeFlags = [ "-DEMBREE_TUTORIALS=OFF" ]; 17 - enableParallelBuilding = true; 18 - 19 - buildInputs = [ pkgconfig cmake ispc tbb glfw openimageio libjpeg libpng libX11 libpthreadstubs ]; 17 + 18 + nativeBuildInputs = [ cmake pkg-config ]; 19 + buildInputs = [ ispc tbb glfw openimageio libjpeg libpng libX11 libpthreadstubs ]; 20 20 meta = with stdenv.lib; { 21 - description = "High performance ray tracing kernels from Intel"; 21 + description = "High performance ray tracing kernels from Intel"; 22 22 homepage = "https://embree.github.io/"; 23 23 maintainers = with maintainers; [ hodapp ]; 24 24 license = licenses.asl20;
+1 -1
pkgs/development/libraries/flann/default.nix
··· 18 18 }) 19 19 ]; 20 20 21 - buildInputs = [ unzip cmake python ]; 21 + nativeBuildInputs = [ unzip cmake python ]; 22 22 23 23 meta = { 24 24 homepage = "http://people.cs.ubc.ca/~mariusm/flann/";
+2 -1
pkgs/development/libraries/freeglut/default.nix
··· 12 12 13 13 outputs = [ "out" "dev" ]; 14 14 15 - buildInputs = [ libXi libXrandr libXxf86vm libGL libGLU xlibsWrapper cmake ]; 15 + nativeBuildInputs = [ cmake ]; 16 + buildInputs = [ libXi libXrandr libXxf86vm libGL libGLU xlibsWrapper ]; 16 17 17 18 cmakeFlags = stdenv.lib.optionals stdenv.isDarwin [ 18 19 "-DOPENGL_INCLUDE_DIR=${libGL}/include"
+2 -2
pkgs/development/libraries/gdcm/default.nix
··· 28 28 cd ../build 29 29 ''; 30 30 31 - enableParallelBuilding = true; 32 - buildInputs = [ cmake vtk_7 ] 31 + nativeBuildInputs = [ cmake ]; 32 + buildInputs = [ vtk_7 ] 33 33 ++ stdenv.lib.optional stdenv.isDarwin [ 34 34 darwin.apple_sdk.frameworks.ApplicationServices 35 35 darwin.apple_sdk.frameworks.Cocoa
+3 -1
pkgs/development/libraries/glbinding/default.nix
··· 1 1 { stdenv, fetchFromGitHub, cmake, libGLU, xlibsWrapper }: 2 + 2 3 stdenv.mkDerivation rec { 3 4 pname = "glbinding"; 4 5 version = "3.1.0"; ··· 10 11 sha256 = "1avd7ssms11xx7h0cm8h4pfpk55f07f1j1ybykxfgsym2chb2z08"; 11 12 }; 12 13 13 - buildInputs = [ cmake libGLU xlibsWrapper ]; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ libGLU xlibsWrapper ]; 14 16 15 17 meta = with stdenv.lib; { 16 18 homepage = "https://github.com/cginternals/glbinding/";
+3 -3
pkgs/development/libraries/google-cloud-cpp/default.nix
··· 1 - { stdenv, clang-tools, grpc, curl, cmake, pkgconfig, fetchFromGitHub, doxygen, protobuf, crc32c, c-ares, fetchurl, openssl, zlib }: 1 + { stdenv, clang-tools, grpc, curl, cmake, pkg-config, fetchFromGitHub, doxygen, protobuf, crc32c, c-ares, fetchurl, openssl, zlib }: 2 2 let 3 3 googleapis = fetchFromGitHub { 4 4 owner = "googleapis"; ··· 16 16 sha256 = "02zkcq2wl831ayd9qy009xvfx7q80pgycx7mzz9vknwd0nn6dd0n"; 17 17 }; 18 18 19 - nativeBuildInputs = [ cmake pkgconfig ]; 19 + nativeBuildInputs = [ cmake pkg-config ]; 20 20 buildInputs = [ c-ares c-ares.cmake-config grpc openssl protobuf zlib ]; 21 21 22 22 postPatch = '' ··· 40 40 }; 41 41 42 42 buildInputs = [ curl crc32c c-ares c-ares.cmake-config googleapis-cpp-cmakefiles grpc protobuf ]; 43 - nativeBuildInputs = [ clang-tools cmake pkgconfig doxygen ]; 43 + nativeBuildInputs = [ clang-tools cmake pkg-config doxygen ]; 44 44 45 45 outputs = [ "out" "dev" ]; 46 46
+2 -1
pkgs/development/libraries/grantlee/default.nix
··· 12 12 sha256 = "1b501xbimizmbmysl1j5zgnp48qw0r2r7lhgmxvzhzlv9jzhj60r"; 13 13 }; 14 14 15 - buildInputs = [ cmake qt4 ]; 15 + nativeBuildInputs = [ cmake ]; 16 + buildInputs = [ qt4 ]; 16 17 17 18 meta = { 18 19 description = "Qt4 port of Django template system";
+2 -5
pkgs/development/libraries/grib-api/default.nix
··· 23 23 substituteInPlace "src/grib_jasper_encoding.c" --replace "image.inmem_ = 1;" "" 24 24 ''; 25 25 26 - buildInputs = [ cmake 27 - netcdf 28 - gfortran 26 + nativeBuildInputs = [ cmake gfortran ]; 27 + buildInputs = [ netcdf 29 28 libpng 30 29 openjpeg 31 30 ] ++ stdenv.lib.optionals enablePython [ ··· 41 40 "-DENABLE_FORTRAN=ON" 42 41 "-DOPENJPEG_INCLUDE_DIR=${openjpeg.dev}/include/${openjpeg.incDir}" 43 42 ]; 44 - 45 - enableParallelBuilding = true; 46 43 47 44 doCheck = true; 48 45
+2 -2
pkgs/development/libraries/grpc/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, c-ares, pkgconfig, openssl, protobuf 1 + { stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, c-ares, pkg-config, openssl, protobuf 2 2 , gflags, abseil-cpp, libnsl 3 3 }: 4 4 ··· 20 20 }) 21 21 ]; 22 22 23 - nativeBuildInputs = [ cmake pkgconfig ]; 23 + nativeBuildInputs = [ cmake pkg-config ]; 24 24 buildInputs = [ zlib c-ares c-ares.cmake-config openssl protobuf gflags abseil-cpp ] 25 25 ++ stdenv.lib.optionals stdenv.isLinux [ libnsl ]; 26 26
+2 -4
pkgs/development/libraries/hpx/default.nix
··· 1 - { stdenv, fetchFromGitHub, boost, cmake, hwloc, gperftools, pkgconfig, python }: 1 + { stdenv, fetchFromGitHub, boost, cmake, hwloc, gperftools, pkg-config, python }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "hpx"; ··· 12 12 }; 13 13 14 14 buildInputs = [ boost hwloc gperftools ]; 15 - nativeBuildInputs = [ cmake pkgconfig python ]; 16 - 17 - enableParallelBuilding = true; 15 + nativeBuildInputs = [ cmake pkg-config python ]; 18 16 19 17 meta = { 20 18 description = "C++ standard library for concurrency and parallelism";
+2 -3
pkgs/development/libraries/libLAS/default.nix
··· 4 4 name = "libLAS-1.8.1"; 5 5 6 6 src = fetchurl { 7 - 8 7 url = "https://download.osgeo.org/liblas/${name}.tar.bz2"; 9 8 sha256 = "0xjfxb3ydvr2258ji3spzyf81g9caap19ql2pk91wiivqsc4mnws"; 10 9 }; 11 10 12 - nativeBuildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 13 - buildInputs = [ boost cmake gdal libgeotiff libtiff LASzip2 ]; 11 + nativeBuildInputs = [ cmake ] ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 12 + buildInputs = [ boost gdal libgeotiff libtiff LASzip2 ]; 14 13 15 14 cmakeFlags = [ 16 15 "-DGDAL_CONFIG=${gdal}/bin/gdal-config"
+3 -3
pkgs/development/libraries/libbladeRF/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, pkgconfig, cmake, git, doxygen, help2man, ncurses, tecla 1 + { stdenv, lib, fetchFromGitHub, pkg-config, cmake, git, doxygen, help2man, ncurses, tecla 2 2 , libusb1, udev }: 3 3 4 4 let ··· 23 23 sha256 = "0g89al4kwfbx1l3zjddgb9ay4mhr7zk0ndchca3sm1vq2j47nf4l"; 24 24 }; 25 25 26 - nativeBuildInputs = [ pkgconfig ]; 26 + nativeBuildInputs = [ cmake pkg-config git doxygen help2man ]; 27 27 # ncurses used due to https://github.com/Nuand/bladeRF/blob/ab4fc672c8bab4f8be34e8917d3f241b1d52d0b8/host/utilities/bladeRF-cli/CMakeLists.txt#L208 28 - buildInputs = [ cmake git doxygen help2man tecla libusb1 ] 28 + buildInputs = [ tecla libusb1 ] 29 29 ++ lib.optionals stdenv.isLinux [ udev ] 30 30 ++ lib.optionals stdenv.isDarwin [ ncurses ]; 31 31
+2 -1
pkgs/development/libraries/libbluedevil/default.nix
··· 11 11 sha256 = "0p4f0brhcz9gfxfd6114fa5x6swfdmgzv350xwncdr0s1qnamk8c"; 12 12 }; 13 13 14 - buildInputs = [ cmake qt4 ]; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ qt4 ]; 15 16 16 17 meta = { 17 18 platforms = stdenv.lib.platforms.unix;
+1 -1
pkgs/development/libraries/libdynd/default.nix
··· 26 26 "-Wno-error=deprecated-copy" 27 27 ]; 28 28 29 - buildInputs = [ cmake ]; 29 + nativeBuildInputs = [ cmake ]; 30 30 31 31 outputs = [ "out" "dev" ]; 32 32 outputDoc = "dev";
+3 -3
pkgs/development/libraries/libebur128/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, speexdsp, pkgconfig }: 1 + { stdenv, fetchFromGitHub, cmake, speexdsp, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.2.4"; ··· 11 11 sha256 = "0n81rnm8dm1zmibkr2v3q79rsd609y0dbbsrbay18njcjva88p0g"; 12 12 }; 13 13 14 - nativeBuildInputs = [ pkgconfig ]; 15 - buildInputs = [ cmake speexdsp ]; 14 + nativeBuildInputs = [ cmake pkg-config ]; 15 + buildInputs = [ speexdsp ]; 16 16 17 17 meta = with stdenv.lib; { 18 18 description = "Implementation of the EBU R128 loudness standard";
+2 -1
pkgs/development/libraries/libgroove/default.nix
··· 13 13 14 14 patches = [ ./no-warnings-as-errors.patch ]; 15 15 16 - buildInputs = [ cmake libav SDL2 chromaprint libebur128 ]; 16 + nativeBuildInputs = [ cmake ]; 17 + buildInputs = [ libav SDL2 chromaprint libebur128 ]; 17 18 18 19 meta = with stdenv.lib; { 19 20 description = "Streaming audio processing library";
+2 -1
pkgs/development/libraries/libharu/default.nix
··· 8 8 sha256 = "15s9hswnl3qqi7yh29jyrg0hma2n99haxznvcywmsp8kjqlyg75q"; 9 9 }; 10 10 11 - buildInputs = [ zlib libpng cmake ]; 11 + nativeBuildInputs = [ cmake ]; 12 + buildInputs = [ zlib libpng ]; 12 13 13 14 meta = { 14 15 description = "Cross platform, open source library for generating PDF files";
+3 -4
pkgs/development/libraries/libjreen/default.nix
··· 1 - { stdenv, fetchurl, cmake, qt4, pkgconfig, gsasl }: 1 + { stdenv, fetchurl, cmake, qt4, pkg-config, gsasl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libjreen"; ··· 9 9 sha256 = "14nwwk40xx8w6x7yaysgcr0lgzhs7l064f7ikp32s5y9a8mmp582"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 13 - buildInputs = [ cmake qt4 gsasl ]; 14 - enableParallelBuilding = true; 12 + nativeBuildInputs = [ cmake pkg-config ]; 13 + buildInputs = [ qt4 gsasl ]; 15 14 16 15 meta = { 17 16 description = "C++ Jabber library using Qt framework";
+3 -3
pkgs/development/libraries/libjson-rpc-cpp/default.nix
··· 1 1 { stdenv, fetchFromGitHub, cmake, jsoncpp, argtable, curl, libmicrohttpd 2 - , doxygen, catch, pkgconfig 2 + , doxygen, catch, pkg-config 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { ··· 53 53 cp -r Install/* $out 54 54 ''; 55 55 56 - nativeBuildInputs = [ pkgconfig ]; 57 - buildInputs = [ cmake jsoncpp argtable curl libmicrohttpd doxygen catch ]; 56 + nativeBuildInputs = [ cmake pkg-config ]; 57 + buildInputs = [ jsoncpp argtable curl libmicrohttpd doxygen catch ]; 58 58 59 59 enableParallelBuilding = true; 60 60
+1 -1
pkgs/development/libraries/liblaxjson/default.nix
··· 11 11 sha256 = "01iqbpbhnqfifhv82m6hi8190w5sdim4qyrkss7z1zyv3gpchc5s"; 12 12 }; 13 13 14 - buildInputs = [ cmake ]; 14 + nativeBuildInputs = [ cmake ]; 15 15 16 16 meta = with stdenv.lib; { 17 17 description = "Library for parsing JSON config files";
+3 -3
pkgs/development/libraries/libmusicbrainz/5.x.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, neon, libdiscid, libxml2, pkgconfig }: 1 + { stdenv, fetchFromGitHub, cmake, neon, libdiscid, libxml2, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "5.1.0"; 5 5 pname = "libmusicbrainz"; 6 6 7 - nativeBuildInputs = [ pkgconfig ]; 8 - buildInputs = [ cmake neon libdiscid libxml2 ]; 7 + nativeBuildInputs = [ cmake pkg-config ]; 8 + buildInputs = [ neon libdiscid libxml2 ]; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "metabrainz";
+2 -1
pkgs/development/libraries/libmusicbrainz/default.nix
··· 3 3 stdenv.mkDerivation rec { 4 4 name = "libmusicbrainz-3.0.3"; 5 5 6 - buildInputs = [ cmake neon libdiscid ]; 6 + nativeBuildInputs = [ cmake ]; 7 + buildInputs = [ neon libdiscid ]; 7 8 8 9 src = fetchurl { 9 10 url = "ftp://ftp.musicbrainz.org/pub/musicbrainz/${name}.tar.gz";
+2 -1
pkgs/development/libraries/libnabo/default.nix
··· 11 11 sha256 = "17vxlmszzpm95vvfdxnm98d5p297i10fyblblj6kf0ynq8r2mpsh"; 12 12 }; 13 13 14 - buildInputs = [cmake eigen boost]; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ eigen boost ]; 15 16 16 17 enableParallelBuilding = true; 17 18
+2 -2
pkgs/development/libraries/libresample/default.nix
··· 16 16 preConfigure = '' 17 17 cat debian/patches/1001_shlib-cmake.patch | patch -p1 18 18 ''; 19 - buildInputs = [ cmake ]; 20 - 19 + nativeBuildInputs = [ cmake ]; 20 + 21 21 meta = { 22 22 description = "A real-time library for sampling rate conversion library"; 23 23 license = stdenv.lib.licenses.lgpl2Plus;
+3 -4
pkgs/development/libraries/libsnark/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkgconfig, openssl, boost, gmp, procps }: 1 + { stdenv, fetchFromGitHub, cmake, pkg-config, openssl, boost, gmp, procps }: 2 2 3 3 let 4 4 rev = "9e6b19ff15bc19fba5da1707ba18e7f160e5ed07"; ··· 7 7 name = "libsnark-pre${version}"; 8 8 version = stdenv.lib.substring 0 8 rev; 9 9 10 - buildInputs = [ cmake pkgconfig openssl boost gmp ] ++ lib.optional stdenv.hostPlatform.isLinux procps; 10 + nativeBuildInputs = [ cmake pkg-config ]; 11 + buildInputs = [ openssl boost gmp ] ++ lib.optional stdenv.hostPlatform.isLinux procps; 11 12 12 13 cmakeFlags = lib.optionals stdenv.hostPlatform.isDarwin [ "-DWITH_PROCPS=OFF" "-DWITH_SUPERCOP=OFF" ]; 13 14 ··· 18 19 sha256 = "13f02qp2fmfhvxlp4xi69m0l8r5nq913l2f0zwdk7hl46lprfdca"; 19 20 fetchSubmodules = true; 20 21 }; 21 - 22 - enableParallelBuilding = true; 23 22 24 23 meta = with stdenv.lib; { 25 24 description = "C++ library for zkSNARKs";
+2 -1
pkgs/development/libraries/libtcod/default.nix
··· 21 21 22 22 cmakeFlags = [ "-DLIBTCOD_SAMPLES=OFF" ]; 23 23 24 - buildInputs = [ cmake SDL libGLU libGL upx zlib ]; 24 + nativeBuildInputs = [ cmake ]; 25 + buildInputs = [ SDL libGLU libGL upx zlib ]; 25 26 26 27 meta = { 27 28 description = "API for roguelike games";
+1 -3
pkgs/development/libraries/libuecc/default.nix
··· 10 10 sha256 = "1sm05aql75sh13ykgsv3ns4x4zzw9lvzid6misd22gfgf6r9n5fs"; 11 11 }; 12 12 13 - buildInputs = [ cmake ]; 14 - 15 - enableParallelBuilding = true; 13 + nativeBuildInputs = [ cmake ]; 16 14 17 15 meta = with stdenv.lib; { 18 16 description = "Very small Elliptic Curve Cryptography library";
+5 -5
pkgs/development/libraries/liquidfun/default.nix
··· 1 1 { stdenv, requireFile, cmake, libGLU, libGL, libX11, libXi }: 2 2 3 - let 3 + let 4 4 sourceInfo = rec { 5 5 version="1.1.0"; 6 6 name="liquidfun-${version}"; ··· 16 16 }; 17 17 18 18 inherit (sourceInfo) name version; 19 - buildInputs = [ cmake libGLU libGL libX11 libXi ]; 19 + nativeBuildInputs = [ cmake ]; 20 + buildInputs = [ libGLU libGL libX11 libXi ]; 20 21 21 22 sourceRoot = "liquidfun/Box2D/"; 22 23 ··· 26 27 sed -i Box2D/Common/b2Settings.h -e 's@b2_maxPolygonVertices .*@b2_maxPolygonVertices 15@' 27 28 substituteInPlace Box2D/CMakeLists.txt --replace "Common/b2GrowableStack.h" "Common/b2GrowableStack.h Common/b2GrowableBuffer.h" 28 29 ''; 29 - 30 + 30 31 configurePhase = '' 31 32 mkdir Build 32 - cd Build; 33 + cd Build; 33 34 cmake -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON -DCMAKE_INSTALL_PREFIX=$out .. 34 35 ''; 35 36 ··· 45 46 homepage = "https://google.github.io/liquidfun/"; 46 47 }; 47 48 } 48 -
+2 -2
pkgs/development/libraries/lucene++/default.nix
··· 17 17 ''; 18 18 19 19 cmakeFlags = [ "-DGTEST_INCLUDE_DIR=${gtest}/include" ]; 20 - buildInputs = [ cmake boost gtest ]; 20 + nativeBuildInputs = [ cmake ]; 21 + buildInputs = [ boost gtest ]; 21 22 22 - enableParallelBuilding = true; 23 23 doCheck = true; 24 24 checkTarget = "test"; 25 25
+3 -3
pkgs/development/libraries/mailcore2/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, cmake, libetpan, icu, cyrus_sasl, libctemplate 2 - , libuchardet, pkgconfig, glib, html-tidy, libxml2, libuuid, openssl 2 + , libuchardet, pkg-config, glib, html-tidy, libxml2, libuuid, openssl 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { ··· 14 14 sha256 = "0a69q11z194fdfwyazjyyylx57sqs9j4lz7jwh5qcws8syqgb23z"; 15 15 }; 16 16 17 - nativeBuildInputs = [ pkgconfig ]; 17 + nativeBuildInputs = [ cmake pkg-config ]; 18 18 buildInputs = [ 19 - libetpan cmake icu cyrus_sasl libctemplate libuchardet glib 19 + libetpan icu cyrus_sasl libctemplate libuchardet glib 20 20 html-tidy libxml2 libuuid openssl 21 21 ]; 22 22
+4 -6
pkgs/development/libraries/mygui/default.nix
··· 1 1 { stdenv, fetchFromGitHub, libX11, unzip, cmake, ois, freetype, libuuid, 2 - boost, pkgconfig, withOgre ? false, ogre ? null, libGL, libGLU ? null } : 2 + boost, pkg-config, withOgre ? false, ogre ? null, libGL, libGLU ? null } : 3 3 4 4 let 5 5 renderSystem = if withOgre then "3" else "4"; ··· 14 14 sha256 = "0a4zi8w18pjj813n7kmxldl1d9r1jp0iyhkw7pbqgl8f7qaq994w"; 15 15 }; 16 16 17 - enableParallelBuilding = true; 18 - 19 - nativeBuildInputs = [ pkgconfig ]; 20 - buildInputs = [ libX11 unzip cmake ois freetype libuuid boost ] 21 - ++ (if withOgre then [ ogre ] else [libGL libGLU]); 17 + nativeBuildInputs = [ cmake pkg-config ]; 18 + buildInputs = [ libX11 unzip ois freetype libuuid boost ] 19 + ++ (if withOgre then [ ogre ] else [ libGL libGLU ]); 22 20 23 21 # Tools are disabled due to compilation failures. 24 22 cmakeFlags = [ "-DMYGUI_BUILD_TOOLS=OFF" "-DMYGUI_BUILD_DEMOS=OFF" "-DMYGUI_RENDERSYSTEM=${renderSystem}" ];
+1 -1
pkgs/development/libraries/nanoflann/default.nix
··· 11 11 sha256 = "0lq1zqwjvk8wv15hd7aw57jsqbvv45cwb8ngdh1d2iyw5rvnbhsn"; 12 12 }; 13 13 14 - buildInputs = [ cmake ]; 14 + nativeBuildInputs = [ cmake ]; 15 15 16 16 cmakeFlags = [ 17 17 "-DBUILD_EXAMPLES=OFF"
+2 -3
pkgs/development/libraries/nss_wrapper/default.nix
··· 1 - { stdenv, fetchurl, cmake, pkgconfig }: 1 + { stdenv, fetchurl, cmake, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "nss_wrapper-1.1.11"; ··· 8 8 sha256 = "1q5l6w69yc71ly8gcbnkrcbnq6b64cbiiv99m0z5vn5lgwp36igv"; 9 9 }; 10 10 11 - nativeBuildInputs = [ pkgconfig ]; 12 - buildInputs = [ cmake ]; 11 + nativeBuildInputs = [ cmake pkg-config ]; 13 12 14 13 meta = with stdenv.lib; { 15 14 description = "A wrapper for the user, group and hosts NSS API";
+4 -5
pkgs/development/libraries/ogre/1.10.x.nix
··· 2 2 , cmake, libGLU, libGL 3 3 , freetype, freeimage, zziplib, xorgproto, libXrandr 4 4 , libXaw, freeglut, libXt, libpng, boost, ois 5 - , libX11, libXmu, libSM, pkgconfig 5 + , libX11, libXmu, libSM, pkg-config 6 6 , libXxf86vm, libICE 7 7 , libXrender 8 8 , withNvidiaCg ? false, nvidia_cg_toolkit ··· 21 21 ([ "BSP" "OCTREE" "PCZ" "PFX" ] ++ lib.optional withNvidiaCg "CG") 22 22 ++ map (x: "-DOGRE_BUILD_RENDERSYSTEM_${x}=on") [ "GL" ]; 23 23 24 - enableParallelBuilding = true; 25 - 24 + nativeBuildInputs = [ cmake pkg-config ]; 26 25 buildInputs = 27 - [ cmake libGLU libGL 26 + [ libGLU libGL 28 27 freetype freeimage zziplib xorgproto libXrandr 29 28 libXaw freeglut libXt libpng boost ois 30 - libX11 libXmu libSM pkgconfig 29 + libX11 libXmu libSM 31 30 libXxf86vm libICE 32 31 libXrender 33 32 ] ++ lib.optional withNvidiaCg nvidia_cg_toolkit;
+4 -4
pkgs/development/libraries/ogre/1.9.x.nix
··· 2 2 , cmake, libGLU, libGL 3 3 , freetype, freeimage, zziplib, xorgproto, libXrandr 4 4 , libXaw, freeglut, libXt, libpng, boost, ois 5 - , libX11, libXmu, libSM, pkgconfig 5 + , libX11, libXmu, libSM, pkg-config 6 6 , libXxf86vm, libICE 7 7 , libXrender 8 8 , withNvidiaCg ? false, nvidia_cg_toolkit ··· 24 24 ([ "BSP" "OCTREE" "PCZ" "PFX" ] ++ lib.optional withNvidiaCg "CG") 25 25 ++ map (x: "-DOGRE_BUILD_RENDERSYSTEM_${x}=on") [ "GL" ]; 26 26 27 - enableParallelBuilding = true; 28 27 28 + nativeBuildInputs = [ cmake pkg-config ]; 29 29 buildInputs = 30 - [ cmake libGLU libGL 30 + [ libGLU libGL 31 31 freetype freeimage zziplib xorgproto libXrandr 32 32 libXaw freeglut libXt libpng boost ois 33 - libX11 libXmu libSM pkgconfig 33 + libX11 libXmu libSM 34 34 libXxf86vm libICE 35 35 libXrender 36 36 ] ++ lib.optional withNvidiaCg nvidia_cg_toolkit;
+3 -5
pkgs/development/libraries/ogre/default.nix
··· 2 2 , cmake, libGLU, libGL 3 3 , freetype, freeimage, zziplib, xorgproto, libXrandr 4 4 , libXaw, freeglut, libXt, libpng, boost, ois 5 - , libX11, libXmu, libSM, pkgconfig 5 + , libX11, libXmu, libSM, pkg-config 6 6 , libXxf86vm, libICE 7 7 , unzip 8 8 , libXrender ··· 23 23 ([ "BSP" "OCTREE" "PCZ" "PFX" ] ++ lib.optional withNvidiaCg "CG") 24 24 ++ map (x: "-DOGRE_BUILD_RENDERSYSTEM_${x}=on") [ "GL" ]; 25 25 26 - enableParallelBuilding = true; 27 26 27 + nativeBuildInputs = [ cmake unzip pkg-config ]; 28 28 buildInputs = 29 29 [ cmake libGLU libGL 30 30 freetype freeimage zziplib xorgproto libXrandr 31 31 libXaw freeglut libXt libpng boost ois 32 - libX11 libXmu libSM pkgconfig 32 + libX11 libXmu libSM 33 33 libXxf86vm libICE 34 34 libXrender 35 35 ] ++ lib.optional withNvidiaCg nvidia_cg_toolkit; 36 - 37 - nativeBuildInputs = [ unzip ]; 38 36 39 37 meta = { 40 38 description = "A 3D engine";
+3 -4
pkgs/development/libraries/opencollada/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, pkgconfig, libxml2, pcre 1 + { lib, stdenv, fetchFromGitHub, cmake, pkg-config, libxml2, pcre 2 2 , darwin}: 3 3 4 4 stdenv.mkDerivation rec { ··· 13 13 sha256 = "1ym16fxx9qhf952vva71sdzgbm7ifis0h1n5fj1bfdj8zvvkbw5w"; 14 14 }; 15 15 16 - nativeBuildInputs = [ pkgconfig ]; 17 - buildInputs = [ cmake ] 18 - ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ AGL ]); 16 + nativeBuildInputs = [ cmake pkg-config ]; 17 + buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ AGL ]); 19 18 20 19 propagatedBuildInputs = [ libxml2 pcre ]; 21 20
+3 -2
pkgs/development/libraries/opensubdiv/default.nix
··· 1 - { config, lib, stdenv, fetchFromGitHub, cmake, pkgconfig, xorg, libGLU 1 + { config, lib, stdenv, fetchFromGitHub, cmake, pkg-config, xorg, libGLU 2 2 , libGL, glew, ocl-icd, python3 3 3 , cudaSupport ? config.cudaSupport or false, cudatoolkit 4 4 , darwin ··· 17 17 18 18 outputs = [ "out" "dev" ]; 19 19 20 + nativeBuildInputs = [ cmake pkg-config ]; 20 21 buildInputs = 21 - [ cmake pkgconfig libGLU libGL python3 22 + [ libGLU libGL python3 22 23 # FIXME: these are not actually needed, but the configure script wants them. 23 24 glew xorg.libX11 xorg.libXrandr xorg.libXxf86vm xorg.libXcursor 24 25 xorg.libXinerama xorg.libXi
+2 -1
pkgs/development/libraries/opentracing-cpp/default.nix
··· 8 8 rev = "v${version}"; 9 9 sha256 = "04kw19g8qrv3kd40va3sqbfish7kfczkdpxdwraifk9950wfs3gx"; 10 10 }; 11 - buildInputs = [ cmake ]; 11 + 12 + nativeBuildInputs = [ cmake ]; 12 13 13 14 meta = { 14 15 description = "C++ implementation of the OpenTracing API";
+2 -1
pkgs/development/libraries/portmidi/default.nix
··· 44 44 ln -s libportmidi.so "$out/lib/libporttime.so" 45 45 ''; 46 46 47 - buildInputs = [ unzip cmake /*jdk*/ alsaLib ]; 47 + nativeBuildInputs = [ unzip cmake ]; 48 + buildInputs = [ alsaLib ]; 48 49 49 50 hardeningDisable = [ "format" ]; 50 51
+3 -2
pkgs/development/libraries/properties-cpp/default.nix
··· 1 - { stdenv, fetchurl, cmake, pkgconfig, gtest, doxygen 1 + { stdenv, fetchurl, cmake, pkg-config, gtest, doxygen 2 2 , graphviz, lcov }: 3 3 4 4 stdenv.mkDerivation rec { ··· 11 11 sha256 = "08vjyv7ibn6jh2ikj5v48kjpr3n6hlkp9qlvdn8r0vpiwzah0m2w"; 12 12 }; 13 13 14 - buildInputs = [ cmake gtest doxygen pkgconfig graphviz lcov ]; 14 + nativeBuildInputs = [ cmake pkg-config ]; 15 + buildInputs = [ gtest doxygen graphviz lcov ]; 15 16 16 17 patchPhase = '' 17 18 sed -i "/add_subdirectory(tests)/d" CMakeLists.txt
+2 -3
pkgs/development/libraries/ptex/default.nix
··· 14 14 15 15 outputs = [ "bin" "dev" "out" "lib" ]; 16 16 17 - buildInputs = [ zlib python cmake pkg-config ]; 18 - 19 - enableParallelBuilding = true; 17 + nativeBuildInputs = [ cmake ]; 18 + buildInputs = [ zlib python pkg-config ]; 20 19 21 20 # Can be removed in the next release 22 21 # https://github.com/wdas/ptex/pull/42
+2 -1
pkgs/development/libraries/qimageblitz/default.nix
··· 13 13 sha256 = "0pnaf3qi7rgkxzs2mssmslb3f9ya4cyx09wzwlis3ppyvf72j0p9"; 14 14 }; 15 15 16 - buildInputs = [ cmake qt4 ]; 16 + nativeBuildInputs = [ cmake ]; 17 + buildInputs = [ qt4 ]; 17 18 18 19 patches = [ ./qimageblitz-9999-exec-stack.patch ]; 19 20
+2 -1
pkgs/development/libraries/qjson/default.nix
··· 11 11 sha256 = "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs"; 12 12 }; 13 13 14 - buildInputs = [ cmake qt4 ]; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ qt4 ]; 15 16 16 17 meta = with stdenv.lib; { 17 18 description = "Lightweight data-interchange format";
+2 -1
pkgs/development/libraries/rabbitmq-c/default.nix
··· 11 11 sha256 = "1iv7aww4pam8497s524xjxbbxypyqd01qgrb0b429y3q9x06m4sw"; 12 12 }; 13 13 14 - buildInputs = [ cmake openssl popt xmlto ]; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ openssl popt xmlto ]; 15 16 16 17 meta = with stdenv.lib; { 17 18 description = "RabbitMQ C AMQP client library";
+1 -1
pkgs/development/libraries/rnnoise-plugin/default.nix
··· 11 11 sha256 = "11pwisbcks7g0mdgcrrv49v3ci1l6m26bbb7f67xz4pr1hai5dwc"; 12 12 }; 13 13 14 - buildInputs = [ cmake ]; 14 + nativeBuildInputs = [ cmake ]; 15 15 16 16 cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ]; 17 17
+1 -3
pkgs/development/libraries/science/math/clblas/default.nix
··· 35 35 "-DBUILD_TEST=OFF" 36 36 ]; 37 37 38 + nativeBuildInputs = [ cmake ]; 38 39 buildInputs = [ 39 - cmake 40 40 gfortran 41 41 blas 42 42 python ··· 52 52 propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ 53 53 OpenCL 54 54 ]; 55 - 56 - enableParallelBuilding = true; 57 55 58 56 meta = with stdenv.lib; { 59 57 homepage = "https://github.com/clMathLibraries/clBLAS";
+1 -1
pkgs/development/libraries/science/math/metis/default.nix
··· 9 9 }; 10 10 11 11 cmakeFlags = [ "-DGKLIB_PATH=../GKlib" ]; 12 - buildInputs = [ unzip cmake ]; 12 + nativeBuildInputs = [ unzip cmake ]; 13 13 14 14 meta = { 15 15 description = "Serial graph partitioning and fill-reducing matrix ordering";
+2 -1
pkgs/development/libraries/science/math/parmetis/default.nix
··· 13 13 sha256 = "0pvfpvb36djvqlcc3lq7si0c5xpb2cqndjg8wvzg35ygnwqs5ngj"; 14 14 }; 15 15 16 - buildInputs = [ cmake mpi ]; 16 + nativeBuildInputs = [ cmake ]; 17 + buildInputs = [ mpi ]; 17 18 18 19 # metis and GKlib are packaged with distribution 19 20 # AUR https://aur.archlinux.org/packages/parmetis/ has reported that
+1 -1
pkgs/development/libraries/science/math/superlu/default.nix
··· 12 12 sha256 = "0qzlb7cd608q62kyppd0a8c65l03vrwqql6gsm465rky23b6dyr8"; 13 13 }; 14 14 15 - buildInputs = [ cmake gfortran ]; 15 + nativeBuildInputs = [ cmake gfortran ]; 16 16 17 17 propagatedBuildInputs = [ blas ]; 18 18
+3 -5
pkgs/development/libraries/science/robotics/ispike/default.nix
··· 1 - { stdenv, fetchurl, cmake, boost 2 - }: 1 + { stdenv, fetchurl, cmake, boost }: 3 2 4 3 stdenv.mkDerivation rec { 5 4 pname = "ispike"; ··· 10 9 sha256 = "0khrxp43bi5kisr8j4lp9fl4r5marzf7b4inys62ac108sfb28lp"; 11 10 }; 12 11 13 - buildInputs = [ cmake boost ]; 12 + nativeBuildInputs = [ cmake ]; 13 + buildInputs = [ boost ]; 14 14 15 15 meta = { 16 16 description = "Spiking neural interface between iCub and a spiking neural simulator"; ··· 19 19 platforms = stdenv.lib.platforms.linux; 20 20 maintainers = [ stdenv.lib.maintainers.nico202 ]; 21 21 }; 22 - 23 - 24 22 }
+1 -1
pkgs/development/libraries/unittest-cpp/default.nix
··· 13 13 sha256 = "0sxb3835nly1jxn071f59fwbdzmqi74j040r81fanxyw3s1azw0i"; 14 14 }; 15 15 16 - buildInputs = [cmake]; 16 + nativeBuildInputs = [ cmake ]; 17 17 18 18 doCheck = false; 19 19
+2 -1
pkgs/development/libraries/vigra/default.nix
··· 21 21 sha256 = "1i1w6smijgb5z8bg9jaq84ccy00k2sxm87s37lgjpyix901gjlgi"; }; 22 22 in [ clangPatch ]; 23 23 24 - buildInputs = [ boost cmake fftw fftwSinglePrec hdf5 ilmbase libjpeg libpng 24 + nativeBuildInputs = [ cmake ]; 25 + buildInputs = [ boost fftw fftwSinglePrec hdf5 ilmbase libjpeg libpng 25 26 libtiff numpy openexr python ]; 26 27 27 28 preConfigure = "cmakeFlags+=\" -DVIGRANUMPY_INSTALL_DIR=$out/lib/${python.libPrefix}/site-packages\"";
+2 -1
pkgs/development/libraries/vrpn/default.nix
··· 12 12 sha256 = "032q295d68w34rk5q8nfqdd29s55n00bfik84y7xzkjrpspaprlh"; 13 13 }; 14 14 15 - buildInputs = [ unzip cmake libGLU libGL ]; 15 + nativeBuildInputs = [ cmake unzip ]; 16 + buildInputs = [ libGLU libGL ]; 16 17 17 18 doCheck = false; # FIXME: test failure 18 19 checkTarget = "test";
+2 -1
pkgs/development/libraries/vxl/default.nix
··· 9 9 sha256 = "0xpkwwb93ka6c3da8zjhfg9jk5ssmh9ifdh1by54sz6c7mbp55m8"; 10 10 }; 11 11 12 - buildInputs = [ cmake unzip libtiff expat zlib libpng libjpeg ]; 12 + nativeBuildInputs = [ cmake unzip ]; 13 + buildInputs = [ libtiff expat zlib libpng libjpeg ]; 13 14 14 15 cmakeFlags = [ 15 16 # BUILD_OUL wants old linux headers for videodev.h, not available
+3 -3
pkgs/development/libraries/wt/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, boost, pkgconfig, doxygen, qt48Full, libharu 1 + { stdenv, fetchFromGitHub, cmake, boost, pkg-config, doxygen, qt48Full, libharu 2 2 , pango, fcgi, firebird, libmysqlclient, postgresql, graphicsmagick, glew, openssl 3 3 , pcre, harfbuzz 4 4 }: ··· 19 19 20 20 enableParallelBuilding = true; 21 21 22 - nativeBuildInputs = [ pkgconfig ]; 22 + nativeBuildInputs = [ cmake pkg-config ]; 23 23 buildInputs = [ 24 - cmake boost doxygen qt48Full libharu 24 + boost doxygen qt48Full libharu 25 25 pango fcgi firebird libmysqlclient postgresql graphicsmagick glew 26 26 openssl pcre 27 27 ];
+2 -1
pkgs/development/ocaml-modules/llvm/default.nix
··· 8 8 9 9 inherit (llvm) src; 10 10 11 - buildInputs = [ python cmake ocaml findlib ctypes ]; 11 + nativeBuildInputs = [ cmake ]; 12 + buildInputs = [ python ocaml findlib ctypes ]; 12 13 propagatedBuildInputs = [ llvm ]; 13 14 14 15 patches = [ (fetchpatch {
+20 -20
pkgs/development/ruby-modules/gem-config/default.nix
··· 19 19 20 20 { lib, fetchurl, writeScript, ruby, kerberos, libxml2, libxslt, python, stdenv, which 21 21 , libiconv, postgresql, v8, clang, sqlite, zlib, imagemagick 22 - , pkgconfig , ncurses, xapian, gpgme, util-linux, tzdata, icu, libffi 22 + , pkg-config , ncurses, xapian, gpgme, util-linux, tzdata, icu, libffi 23 23 , cmake, libssh2, openssl, libmysqlclient, darwin, git, perl, pcre, gecode_3, curl 24 24 , msgpack, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem 25 25 , cairo, re2, rake, gobject-introspection, gdk-pixbuf, zeromq, czmq, graphicsmagick, libcxx ··· 41 41 { 42 42 atk = attrs: { 43 43 dependencies = attrs.dependencies ++ [ "gobject-introspection" ]; 44 - nativeBuildInputs = [ rake bundler pkgconfig ]; 44 + nativeBuildInputs = [ rake bundler pkg-config ]; 45 45 propagatedBuildInputs = [ gobject-introspection wrapGAppsHook atk ]; 46 46 }; 47 47 ··· 61 61 }; 62 62 63 63 cairo = attrs: { 64 - nativeBuildInputs = [ pkgconfig ]; 64 + nativeBuildInputs = [ pkg-config ]; 65 65 buildInputs = [ gtk2 pcre xorg.libpthreadstubs xorg.libXdmcp]; 66 66 }; 67 67 68 68 cairo-gobject = attrs: { 69 - nativeBuildInputs = [ pkgconfig ]; 69 + nativeBuildInputs = [ pkg-config ]; 70 70 buildInputs = [ cairo pcre xorg.libpthreadstubs xorg.libXdmcp ]; 71 71 }; 72 72 ··· 75 75 }; 76 76 77 77 cld3 = attrs: { 78 - nativeBuildInputs = [ pkgconfig ]; 78 + nativeBuildInputs = [ pkg-config ]; 79 79 buildInputs = [ protobuf ]; 80 80 }; 81 81 ··· 180 180 }; 181 181 182 182 ffi = attrs: { 183 - nativeBuildInputs = [ pkgconfig ]; 183 + nativeBuildInputs = [ pkg-config ]; 184 184 buildInputs = [ libffi ]; 185 185 }; 186 186 187 187 gdk_pixbuf2 = attrs: { 188 - nativeBuildInputs = [ pkgconfig bundler rake ]; 188 + nativeBuildInputs = [ pkg-config bundler rake ]; 189 189 propagatedBuildInputs = [ gobject-introspection wrapGAppsHook gdk-pixbuf ]; 190 190 }; 191 191 ··· 195 195 }; 196 196 197 197 gio2 = attrs: { 198 - nativeBuildInputs = [ pkgconfig ]; 198 + nativeBuildInputs = [ pkg-config ]; 199 199 buildInputs = [ gtk2 pcre gobject-introspection ] ++ lib.optionals stdenv.isLinux [ util-linux libselinux libsepol ]; 200 200 }; 201 201 ··· 212 212 }; 213 213 214 214 glib2 = attrs: { 215 - nativeBuildInputs = [ pkgconfig ]; 215 + nativeBuildInputs = [ pkg-config ]; 216 216 buildInputs = [ gtk2 pcre ]; 217 217 }; 218 218 219 219 gtk2 = attrs: { 220 220 nativeBuildInputs = [ 221 - binutils pkgconfig 221 + binutils pkg-config 222 222 ] ++ lib.optionals stdenv.isLinux [ 223 223 util-linux libselinux libsepol 224 224 ]; ··· 238 238 }; 239 239 240 240 gobject-introspection = attrs: { 241 - nativeBuildInputs = [ pkgconfig pcre ]; 241 + nativeBuildInputs = [ pkg-config pcre ]; 242 242 propagatedBuildInputs = [ gobject-introspection wrapGAppsHook glib ]; 243 243 }; 244 244 245 245 grpc = attrs: { 246 - nativeBuildInputs = [ pkgconfig ]; 246 + nativeBuildInputs = [ pkg-config ]; 247 247 buildInputs = [ openssl ]; 248 248 hardeningDisable = [ "format" ]; 249 249 NIX_CFLAGS_COMPILE = toString [ ··· 320 320 cmake 321 321 bison 322 322 flex 323 - pkgconfig 323 + pkg-config 324 324 python3 325 325 ]; 326 326 ··· 417 417 418 418 pango = attrs: { 419 419 nativeBuildInputs = [ 420 - pkgconfig 420 + pkg-config 421 421 fribidi 422 422 harfbuzz 423 423 pcre ··· 475 475 }; 476 476 477 477 rmagick = attrs: { 478 - nativeBuildInputs = [ pkgconfig ]; 478 + nativeBuildInputs = [ pkg-config ]; 479 479 buildInputs = [ imagemagick which ]; 480 480 }; 481 481 ··· 484 484 }; 485 485 486 486 ruby-libvirt = attrs: { 487 - buildInputs = [ libvirt pkgconfig ]; 487 + buildInputs = [ libvirt pkg-config ]; 488 488 buildFlags = [ 489 489 "--with-libvirt-include=${libvirt}/include" 490 490 "--with-libvirt-lib=${libvirt}/lib" ··· 519 519 }; 520 520 521 521 rugged = attrs: { 522 - nativeBuildInputs = [ pkgconfig ]; 523 - buildInputs = [ which cmake openssl libssh2 zlib ]; 522 + nativeBuildInputs = [ cmake pkg-config which ]; 523 + buildInputs = [ openssl libssh2 zlib ]; 524 524 dontUseCmakeConfigure = true; 525 525 }; 526 526 ··· 587 587 }; 588 588 589 589 tiny_tds = attrs: { 590 - nativeBuildInputs = [ pkgconfig openssl ]; 590 + nativeBuildInputs = [ pkg-config openssl ]; 591 591 buildInputs = [ freetds ]; 592 592 }; 593 593 ··· 616 616 xapian-ruby = attrs: { 617 617 # use the system xapian 618 618 dontBuild = false; 619 - nativeBuildInputs = [ rake pkgconfig bundler ]; 619 + nativeBuildInputs = [ rake pkg-config bundler ]; 620 620 buildInputs = [ xapian zlib ]; 621 621 postPatch = '' 622 622 cp ${./xapian-Rakefile} Rakefile
+1 -3
pkgs/development/tools/analysis/hotspot/default.nix
··· 27 27 fetchSubmodules = true; 28 28 }; 29 29 30 + nativeBuildInputs = [ cmake ]; 30 31 buildInputs = [ 31 - cmake 32 32 elfutils 33 33 extra-cmake-modules 34 34 kconfigwidgets ··· 49 49 postPatch = '' 50 50 mkdir -p 3rdparty/perfparser/.git 51 51 ''; 52 - 53 - enableParallelBuilding = true; 54 52 55 53 meta = { 56 54 description = "A GUI for Linux perf";
+2 -1
pkgs/development/tools/analysis/ikos/default.nix
··· 20 20 sha256 = "0k3kp1af0qx3l1x6a4sl4fm8qlwchjvwkvs2ck0fhfnc62q2im5f"; 21 21 }; 22 22 23 - buildInputs = [ cmake boost tbb gmp clang llvm sqlite python 23 + nativeBuildInputs = [ cmake ]; 24 + buildInputs = [ boost tbb gmp clang llvm sqlite python 24 25 ocamlPackages.apron mpfr ppl doxygen graphviz ]; 25 26 26 27 cmakeFlags = [ "-DAPRON_ROOT=${ocamlPackages.apron}" ];
-2
pkgs/development/tools/analysis/include-what-you-use/default.nix
··· 15 15 16 16 cmakeFlags = [ "-DIWYU_LLVM_ROOT_PATH=${llvmPackages.clang-unwrapped}" ]; 17 17 18 - enableParallelBuilding = true; 19 - 20 18 postInstall = '' 21 19 substituteInPlace $out/bin/iwyu_tool.py \ 22 20 --replace "'include-what-you-use'" "'$out/bin/include-what-you-use'"
+3 -5
pkgs/development/tools/analysis/rr/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, libpfm, zlib, pkgconfig, python3Packages, which, procps, gdb, capnproto }: 1 + { stdenv, fetchFromGitHub, cmake, libpfm, zlib, pkg-config, python3Packages, which, procps, gdb, capnproto }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "5.4.0"; ··· 21 21 # see https://github.com/mozilla/rr/issues/2269 22 22 preConfigure = ''substituteInPlace CMakeLists.txt --replace "std=c++11" "std=c++14"''; 23 23 24 - nativeBuildInputs = [ pkgconfig ]; 24 + nativeBuildInputs = [ cmake pkg-config which ]; 25 25 buildInputs = [ 26 - cmake libpfm zlib python3Packages.python python3Packages.pexpect which procps gdb capnproto 26 + libpfm zlib python3Packages.python python3Packages.pexpect procps gdb capnproto 27 27 ]; 28 28 propagatedBuildInputs = [ gdb ]; # needs GDB to replay programs at runtime 29 29 cmakeFlags = [ ··· 36 36 NIX_CFLAGS_COMPILE = "-Wno-error"; 37 37 38 38 hardeningDisable = [ "fortify" ]; 39 - 40 - enableParallelBuilding = true; 41 39 42 40 # FIXME 43 41 #doCheck = true;
+1 -1
pkgs/development/tools/build-managers/arpa2cm/default.nix
··· 11 11 owner = "arpa2"; 12 12 }; 13 13 14 - buildInputs = [ cmake ]; 14 + nativeBuildInputs = [ cmake ]; 15 15 16 16 meta = with stdenv.lib; { 17 17 description = "CMake Module library for the ARPA2 project";
+1 -1
pkgs/development/tools/minizinc/default.nix
··· 6 6 pname = "minizinc"; 7 7 inherit version; 8 8 9 - buildInputs = [ cmake flex bison ]; 9 + nativeBuildInputs = [ cmake flex bison ]; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "MiniZinc";
+8 -6
pkgs/development/tools/misc/automoc4/default.nix
··· 1 1 { stdenv, fetchurl, cmake, qt4 }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "automoc4-0.9.88"; 5 - 4 + pname = "automoc4"; 5 + version = "0.9.88"; 6 + 6 7 src = fetchurl { 7 - url = "mirror://kde/stable/automoc4/0.9.88/${name}.tar.bz2"; 8 + url = "mirror://kde/stable/automoc4/0.9.88/${pname}.tar.bz2"; 8 9 sha256 = "0jackvg0bdjg797qlbbyf9syylm0qjs55mllhn11vqjsq3s1ch93"; 9 10 }; 10 - 11 - buildInputs = [ cmake qt4 ]; 12 - 11 + 12 + nativeBuildInputs = [ cmake ]; 13 + buildInputs = [ qt4 ]; 14 + 13 15 meta = with stdenv.lib; { 14 16 homepage = "https://techbase.kde.org/Development/Tools/Automoc4"; 15 17 description = "KDE Meta Object Compiler";
+2 -1
pkgs/development/tools/misc/xc3sprog/default.nix
··· 13 13 rev = version; 14 14 }; 15 15 16 - buildInputs = [ cmake libusb-compat-0_1 libftdi ]; 16 + nativeBuildInputs = [ cmake ]; 17 + buildInputs = [ libusb-compat-0_1 libftdi ]; 17 18 18 19 meta = with stdenv.lib; { 19 20 description = "Command-line tools for programming FPGAs, microcontrollers and PROMs via JTAG";
+3 -3
pkgs/development/tools/msgpack-tools/default.nix
··· 1 - { stdenv, fetchurl, fetchFromGitHub, cmake, unzip }: 1 + { stdenv, fetchurl, fetchFromGitHub, cmake }: 2 + 2 3 stdenv.mkDerivation rec { 3 4 pname = "msgpack-tools"; 4 5 version = "0.6"; ··· 32 33 cp ${mpack} $sourceRoot/contrib/mpack-df17e83f0fa8571b9cd0d8ccf38144fa90e244d1.tar.gz 33 34 ''; 34 35 35 - 36 - buildInputs = [ cmake unzip ]; 36 + nativeBuildInputs = [ cmake ]; 37 37 38 38 meta = with stdenv.lib; { 39 39 description = "Command-line tools for converting between MessagePack and JSON";
+2 -1
pkgs/development/tools/rucksack/default.nix
··· 11 11 sha256 = "0bcm20hqxqnq1j0zghb9i7z9frri6bbf7rmrv5g8dd626sq07vyv"; 12 12 }; 13 13 14 - buildInputs = [ cmake liblaxjson freeimage ]; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ liblaxjson freeimage ]; 15 16 16 17 meta = with stdenv.lib; { 17 18 description = "Texture packer and resource bundler";
+10 -12
pkgs/development/tools/solarus-quest-editor/default.nix
··· 1 - { lib, mkDerivation, fetchFromGitLab, cmake, luajit, 2 - SDL2, SDL2_image, SDL2_ttf, physfs, 3 - openal, libmodplug, libvorbis, solarus, 4 - qtbase, qttools, glm }: 1 + { stdenv, fetchFromGitLab, cmake, luajit, SDL2, SDL2_image, SDL2_ttf, physfs 2 + , openal, libmodplug, libvorbis, solarus, qtbase, qttools, glm }: 5 3 6 - mkDerivation rec { 4 + stdenv.mkDerivation rec { 7 5 pname = "solarus-quest-editor"; 8 6 version = "1.6.4"; 9 7 ··· 13 11 rev = "v${version}"; 14 12 sha256 = "1qbc2j9kalk7xqk9j27s7wnm5zawiyjs47xqkqphw683idmzmjzn"; 15 13 }; 16 - 17 - buildInputs = [ cmake luajit SDL2 18 - SDL2_image SDL2_ttf physfs 19 - openal libmodplug libvorbis 20 - solarus qtbase qttools glm ]; 14 + 15 + nativeBuildInputs = [ cmake ]; 16 + 17 + buildInputs = [ luajit SDL2 SDL2_image SDL2_ttf physfs openal 18 + libmodplug libvorbis solarus qtbase qttools glm ]; 21 19 22 - meta = with lib; { 20 + meta = with stdenv.lib; { 23 21 description = "The editor for the Zelda-like ARPG game engine, Solarus"; 24 22 longDescription = '' 25 23 Solarus is a game engine for Zelda-like ARPG games written in lua. ··· 31 29 maintainers = [ maintainers.Nate-Devv ]; 32 30 platforms = platforms.linux; 33 31 }; 34 - 32 + 35 33 }
+2 -3
pkgs/development/tools/xcbuild/default.nix
··· 47 47 --replace "#if HAVE_LIBCOMPRESSION" "#if 0" 48 48 ''; 49 49 50 - enableParallelBuilding = true; 51 - 52 50 # TODO: instruct cmake not to put it in /usr, rather than cleaning up 53 51 postInstall = '' 54 52 mv $out/usr/* $out ··· 59 57 60 58 cmakeFlags = [ "-GNinja" ]; 61 59 62 - buildInputs = [ cmake zlib libxml2 libpng ninja ] 60 + nativeBuildInputs = [ cmake ninja ]; 61 + buildInputs = [ zlib libxml2 libpng ] 63 62 ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices CoreGraphics ImageIO ]; 64 63 65 64 meta = with stdenv.lib; {
+2 -1
pkgs/games/astromenace/default.nix
··· 9 9 sha256 = "1rkz6lwjcd5mwv72kf07ghvx6z46kf3xs250mjbmnmjpn7r5sxwv"; 10 10 }; 11 11 12 - buildInputs = [ cmake xlibsWrapper libGLU libGL SDL openal freealut libogg libvorbis ]; 12 + nativeBuildInputs = [ cmake ]; 13 + buildInputs = [ xlibsWrapper libGLU libGL SDL openal freealut libogg libvorbis ]; 13 14 14 15 buildPhase = '' 15 16 cmake ./
+9 -13
pkgs/games/blobby/default.nix
··· 1 - {stdenv, fetchurl, SDL2, SDL2_image, libGLU, libGL, cmake, physfs, boost, zip, zlib 2 - , pkgconfig, unzip}: 1 + { stdenv, fetchurl, SDL2, SDL2_image, libGLU, libGL, cmake, physfs, boost, zip, zlib, pkg-config }: 2 + 3 3 stdenv.mkDerivation rec { 4 + pname = "blobby-volley"; 4 5 version = "1.0"; 5 - pname = "blobby-volley"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://sourceforge/blobby/Blobby%20Volley%202%20%28Linux%29/1.0/blobby2-linux-1.0.tar.gz"; 9 9 sha256 = "1qpmbdlyhfbrdsq4vkb6cb3b8mh27fpizb71q4a21ala56g08yms"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 13 - buildInputs = [SDL2 SDL2_image libGLU libGL cmake physfs boost zip zlib 14 - unzip]; 12 + nativeBuildInputs = [ cmake pkg-config zip ]; 13 + buildInputs = [ SDL2 SDL2_image libGLU libGL physfs boost zlib ]; 15 14 16 15 preConfigure='' 17 16 sed -e '1i#include <iostream>' -i src/NetworkMessage.cpp 18 17 ''; 19 18 20 - inherit unzip; 21 - 22 19 postInstall = '' 23 20 cp ../data/Icon.bmp "$out/share/blobby/" 24 21 mv "$out/bin"/blobby{,.bin} ··· 26 23 chmod a+x "$out/bin/blobby" 27 24 ''; 28 25 29 - meta = { 26 + meta = with stdenv.lib; { 30 27 description = ''A blobby volleyball game''; 31 - license = stdenv.lib.licenses.bsd3; 32 - platforms = with stdenv.lib.platforms; linux; 33 - maintainers = with stdenv.lib.maintainers; [raskin]; 28 + license = licenses.bsd3; 29 + platforms = platforms.linux; 30 + maintainers = with maintainers; [ raskin ]; 34 31 homepage = "http://blobby.sourceforge.net/"; 35 32 downloadPage = "https://sourceforge.net/projects/blobby/files/Blobby%20Volley%202%20%28Linux%29/"; 36 - inherit version; 37 33 }; 38 34 }
+2 -2
pkgs/games/cockatrice/default.nix
··· 14 14 }; 15 15 16 16 buildInputs = [ 17 - cmake qtbase qtmultimedia protobuf qttools qtwebsockets 17 + qtbase qtmultimedia protobuf qttools qtwebsockets 18 18 ]; 19 19 20 - nativeBuildInputs = [ wrapQtAppsHook ]; 20 + nativeBuildInputs = [ cmake wrapQtAppsHook ]; 21 21 22 22 meta = { 23 23 homepage = "https://github.com/Cockatrice/Cockatrice";
+2 -1
pkgs/games/holdingnuts/default.nix
··· 25 25 substituteInPlace src/system/SysAccess.c --replace /usr/share $out/share 26 26 ''; 27 27 28 - buildInputs = [ cmake SDL qt4 ]; 28 + nativeBuildInputs = [ cmake ]; 29 + buildInputs = [ SDL qt4 ]; 29 30 30 31 meta = with stdenv.lib; { 31 32 homepage = "http://www.holdingnuts.net/";
+2 -3
pkgs/games/ja2-stracciatella/default.nix
··· 30 30 inherit src; 31 31 inherit version; 32 32 33 - buildInputs = [ cmake SDL2 fltk boost ]; 33 + nativeBuildInputs = [ cmake ]; 34 + buildInputs = [ SDL2 fltk boost ]; 34 35 35 36 patches = [ 36 37 ./remove-rust-buildstep.patch ··· 40 41 sed -i -e 's|rust-stracciatella|${libstracciatella}/lib/libstracciatella.so|g' CMakeLists.txt 41 42 cmakeFlagsArray+=("-DEXTRA_DATA_DIR=$out/share/ja2") 42 43 ''; 43 - 44 - enableParallelBuilding = true; 45 44 46 45 meta = { 47 46 description = "Jagged Alliance 2, with community fixes";
+9 -7
pkgs/games/mars/default.nix
··· 1 - { stdenv, fetchgit, cmake, libGLU, libGL, sfml, fribidi, taglib }: 1 + { stdenv, fetchFromGitHub, cmake, libGLU, libGL, sfml, fribidi, taglib }: 2 2 stdenv.mkDerivation rec { 3 - name = "mars-${version}-${rev}"; 3 + pname = "mars"; 4 4 version = "0.7.5"; 5 - rev = "c855d04409"; 6 - src = fetchgit { 7 - url = "https://github.com/thelaui/M.A.R.S..git"; 8 - inherit rev; 5 + 6 + src = fetchFromGitHub { 7 + owner = "thelaui"; 8 + repo = "M.A.R.S."; 9 + rev = "c855d044094a1d92317e38935d81ba938946132e"; 9 10 sha256 = "1r4c5gap1z2zsv4yjd34qriqkxaq4lb4rykapyzkkdf4g36lc3nh"; 10 11 }; 11 - buildInputs = [ cmake libGLU libGL sfml fribidi taglib ]; 12 + nativeBuildInputs = [ cmake ]; 13 + buildInputs = [ libGLU libGL sfml fribidi taglib ]; 12 14 patches = [ 13 15 ./unbind_fix.patch 14 16 ./fix-gluortho2d.patch
+14 -14
pkgs/games/megaglest/default.nix
··· 1 - { stdenv, cmake, pkgconfig, git, curl, SDL2, xercesc, openal, lua, libvlc 1 + { stdenv, cmake, pkg-config, git, curl, SDL2, xercesc, openal, lua, libvlc 2 2 , libjpeg, wxGTK, cppunit, ftgl, glew, libogg, libvorbis, buildEnv, libpng 3 3 , fontconfig, freetype, xorg, makeWrapper, bash, which, gnome3, libGLU, glib 4 4 , fetchFromGitHub ··· 28 28 sha256 = "0fb58a706nic14ss89zrigphvdiwy5s9dwvhscvvgrfvjpahpcws"; 29 29 }; 30 30 31 - nativeBuildInputs = [ pkgconfig ]; 32 - buildInputs = [ cmake git curl SDL2 xercesc openal lua libpng libjpeg libvlc wxGTK 31 + nativeBuildInputs = [ cmake pkg-config ]; 32 + buildInputs = [ git curl SDL2 xercesc openal lua libpng libjpeg libvlc wxGTK 33 33 glib cppunit fontconfig freetype ftgl glew libogg libvorbis makeWrapper libGLU ]; 34 34 35 - configurePhase = '' 36 - cmake -DCMAKE_INSTALL_PREFIX=$out \ 37 - -DBUILD_MEGAGLEST=On \ 38 - -DBUILD_MEGAGLEST_MAP_EDITOR=On \ 39 - -DBUILD_MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS=On \ 40 - -DBUILD_MEGAGLEST_MODEL_VIEWER=On 41 - ''; 35 + cmakeFlags = [ 36 + "-DCMAKE_INSTALL_PREFIX=$out" 37 + "-DBUILD_MEGAGLEST=On" 38 + "-DBUILD_MEGAGLEST_MAP_EDITOR=On" 39 + "-DBUILD_MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS=On" 40 + "-DBUILD_MEGAGLEST_MODEL_VIEWER=On" 41 + ]; 42 42 43 43 postInstall = '' 44 44 for i in $out/bin/*; do ··· 48 48 done 49 49 ''; 50 50 51 - meta = { 51 + meta = with stdenv.lib; { 52 52 description = "An entertaining free (freeware and free software) and open source cross-platform 3D real-time strategy (RTS) game"; 53 - license = stdenv.lib.licenses.gpl3; 53 + license = licenses.gpl3; 54 54 homepage = "http://megaglest.org/"; 55 - maintainers = [ stdenv.lib.maintainers.matejc ]; 56 - platforms = stdenv.lib.platforms.linux; 55 + maintainers = [ maintainers.matejc ]; 56 + platforms = platforms.linux; 57 57 }; 58 58 }
+2 -1
pkgs/games/ninvaders/default.nix
··· 11 11 sha256 = "1wmwws1zsap4bfc2439p25vnja0hnsf57k293rdxw626gly06whi"; 12 12 }; 13 13 14 - buildInputs = [ cmake ncurses ]; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ ncurses ]; 15 16 16 17 meta = with stdenv.lib; { 17 18 description = "Space Invaders clone based on ncurses";
+4 -4
pkgs/games/opendungeons/default.nix
··· 1 - { stdenv, fetchFromGitHub, ogre, cegui, boost, sfml, openal, cmake, ois, pkgconfig }: 1 + { stdenv, fetchFromGitHub, ogre, cegui, boost, sfml, openal, cmake, ois, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "opendungeons"; ··· 13 13 14 14 patches = [ ./cmakepaths.patch ]; 15 15 16 - nativeBuildInputs = [ pkgconfig ]; 17 - buildInputs = [ cmake ogre cegui boost sfml openal ois ]; 16 + nativeBuildInputs = [ cmake pkg-config ]; 17 + buildInputs = [ ogre cegui boost sfml openal ois ]; 18 18 NIX_LDFLAGS = "-lpthread"; 19 19 20 20 meta = with stdenv.lib; { 21 21 description = "An open source, real time strategy game sharing game elements with the Dungeon Keeper series and Evil Genius"; 22 22 homepage = "https://opendungeons.github.io"; 23 - license = [ licenses.gpl3Plus licenses.zlib licenses.mit licenses.cc-by-sa-30 licenses.cc0 licenses.ofl licenses.cc-by-30 ]; 23 + license = with licenses; [ gpl3Plus zlib mit cc-by-sa-30 cc0 ofl cc-by-30 ]; 24 24 platforms = platforms.linux; 25 25 }; 26 26 }
+3 -2
pkgs/games/openlierox/default.nix
··· 1 1 { stdenv, fetchurl, libX11, xorgproto, gd, SDL, SDL_image, SDL_mixer, zlib 2 - , libxml2, pkgconfig, curl, cmake, libzip }: 2 + , libxml2, pkg-config, curl, cmake, libzip }: 3 3 4 4 stdenv.mkDerivation { 5 5 name = "openlierox-0.58rc3"; ··· 28 28 cp -R ../share/gamedir/* $out/share/OpenLieroX 29 29 ''; 30 30 31 + nativeBuildInputs = [ cmake pkg-config curl ]; 31 32 buildInputs = [ libX11 xorgproto gd SDL SDL_image SDL_mixer zlib libxml2 32 - pkgconfig curl cmake libzip ]; 33 + libzip ]; 33 34 34 35 meta = { 35 36 homepage = "http://openlierox.net";
+8 -6
pkgs/games/openmw/default.nix
··· 1 - { stdenv, mkDerivationWith, fetchFromGitHub, qtbase, openscenegraph, mygui, bullet, ffmpeg_3 2 - , boost, cmake, SDL2, unshield, openal, libXt, pkgconfig }: 1 + { stdenv, fetchFromGitHub, qtbase, openscenegraph, mygui, bullet, ffmpeg_3 2 + , boost, cmake, SDL2, unshield, openal, libXt, pkg-config }: 3 3 4 4 let 5 5 openscenegraph_ = openscenegraph.overrideDerivation (self: { ··· 10 10 sha256 = "0d74hijzmj82nx3jkv5qmr3pkgvplra0b8fbjx1y3vmzxamb0axd"; 11 11 }; 12 12 }); 13 - in mkDerivationWith stdenv.mkDerivation rec { 13 + in 14 + 15 + stdenv.mkDerivation rec { 14 16 version = "0.46.0"; 15 17 pname = "openmw"; 16 18 ··· 23 25 24 26 enableParallelBuilding = true; 25 27 26 - nativeBuildInputs = [ pkgconfig ]; 27 - buildInputs = [ cmake boost ffmpeg_3 bullet mygui openscenegraph_ SDL2 unshield openal libXt qtbase ]; 28 + nativeBuildInputs = [ cmake pkg-config ]; 29 + buildInputs = [ boost ffmpeg_3 bullet mygui openscenegraph_ SDL2 unshield openal libXt qtbase ]; 28 30 29 31 cmakeFlags = [ 30 32 "-DDESIRED_QT_VERSION:INT=5" ··· 33 35 meta = with stdenv.lib; { 34 36 description = "An unofficial open source engine reimplementation of the game Morrowind"; 35 37 homepage = "http://openmw.org"; 36 - license = licenses.gpl3; 38 + license = licenses.gpl3Plus; 37 39 platforms = platforms.linux; 38 40 maintainers = with maintainers; [ abbradar ]; 39 41 };
+4 -3
pkgs/games/privateer/default.nix
··· 1 1 { stdenv, fetchsvn, boost, cmake, ffmpeg_3, freeglut, glib, 2 2 gtk2, libjpeg, libpng, libpthreadstubs, libvorbis, libXau, libXdmcp, 3 - libXmu, libGLU, libGL, openal, pixman, pkgconfig, python27, SDL }: 3 + libXmu, libGLU, libGL, openal, pixman, pkg-config, python27, SDL }: 4 4 5 5 stdenv.mkDerivation { 6 6 name = "privateer-1.03"; ··· 12 12 sha256 = "e1759087d4565d3fc95e5c87d0f6ddf36b2cd5befec5695ec56ed5f3cd144c63"; 13 13 }; 14 14 15 + nativeBuildInputs = [ cmake pkg-config ]; 15 16 buildInputs = 16 - [ boost cmake ffmpeg_3 freeglut glib gtk2 libjpeg libpng 17 + [ boost ffmpeg_3 freeglut glib gtk2 libjpeg libpng 17 18 libpthreadstubs libvorbis libXau libXdmcp libXmu libGLU libGL openal 18 - pixman pkgconfig python27 SDL ]; 19 + pixman python27 SDL ]; 19 20 20 21 patches = [ ./0001-fix-VSFile-constructor.patch ]; 21 22
+7 -7
pkgs/games/rigsofrods/default.nix
··· 1 1 { fetchFromGitHub, stdenv, wxGTK30, freeimage, cmake, zziplib, libGLU, libGL, boost, 2 - pkgconfig, libuuid, openal, ogre, ois, curl, gtk2, mygui, unzip, 2 + pkg-config, libuuid, openal, ogre, ois, curl, gtk2, mygui, unzip, 3 3 angelscript, ogrepaged, mysocketw, libxcb 4 4 }: 5 5 ··· 25 25 ln -s $out/share/rigsofrods/{RoR,RoRConfig} $out/bin 26 26 ''; 27 27 28 - nativeBuildInputs = [ pkgconfig ]; 29 - buildInputs = [ wxGTK30 freeimage cmake zziplib libGLU libGL boost 28 + nativeBuildInputs = [ cmake pkg-config ]; 29 + buildInputs = [ wxGTK30 freeimage zziplib libGLU libGL boost 30 30 libuuid openal ogre ois curl gtk2 mygui unzip angelscript 31 31 ogrepaged mysocketw libxcb ]; 32 32 33 - meta = { 33 + meta = with stdenv.lib; { 34 34 description = "3D simulator game where you can drive, fly and sail various vehicles"; 35 35 homepage = "http://rigsofrods.sourceforge.net/"; 36 - license = stdenv.lib.licenses.gpl3; 37 - maintainers = with stdenv.lib.maintainers; [raskin]; 38 - platforms = stdenv.lib.platforms.linux; 36 + license = licenses.gpl3; 37 + maintainers = with maintainers; [ raskin ]; 38 + platforms = platforms.linux; 39 39 hydraPlatforms = []; 40 40 }; 41 41 }
+3 -5
pkgs/games/stuntrally/default.nix
··· 1 - { fetchurl, stdenv, cmake, boost, ogre, mygui, ois, SDL2, libvorbis, pkgconfig 1 + { fetchurl, stdenv, cmake, boost, ogre, mygui, ois, SDL2, libvorbis, pkg-config 2 2 , makeWrapper, enet, libXcursor, bullet, openal }: 3 3 4 4 stdenv.mkDerivation rec { ··· 26 26 popd 27 27 ''; 28 28 29 - nativeBuildInputs = [ pkgconfig ]; 30 - buildInputs = [ cmake boost ogre mygui ois SDL2 libvorbis 29 + nativeBuildInputs = [ cmake pkg-config ]; 30 + buildInputs = [ boost ogre mygui ois SDL2 libvorbis 31 31 makeWrapper enet libXcursor bullet openal 32 32 ]; 33 - 34 - enableParallelBuilding = true; 35 33 36 34 meta = with stdenv.lib; { 37 35 description = "Stunt Rally game with Track Editor, based on VDrift and OGRE";
+6 -7
pkgs/games/trackballs/default.nix
··· 1 1 { stdenv, fetchFromGitHub, cmake, SDL2, SDL2_ttf, gettext, zlib, SDL2_mixer, SDL2_image, guile, libGLU, libGL }: 2 2 3 - with stdenv.lib; 4 - 5 3 stdenv.mkDerivation rec { 6 4 pname = "trackballs"; 7 5 version = "1.3.2"; 8 6 9 7 src = fetchFromGitHub { 10 8 owner = "trackballs"; 11 - repo = "trackballs"; 9 + repo = pname; 12 10 rev = "v${version}"; 13 11 sha256 = "G+KfQgqk+iI+Beb/ZRul2ArCBcvwYQ/ftEWzdrtwb18="; 14 12 }; 15 13 16 - buildInputs = [ cmake zlib SDL2 SDL2_ttf SDL2_mixer SDL2_image guile gettext libGLU libGL ]; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ zlib SDL2 SDL2_ttf SDL2_mixer SDL2_image guile gettext libGLU libGL ]; 17 16 18 - meta = { 17 + meta = with stdenv.lib; { 19 18 homepage = "https://trackballs.github.io/"; 20 19 description = "3D Marble Madness clone"; 21 - platforms = stdenv.lib.platforms.linux; 22 - license = stdenv.lib.licenses.gpl2; 20 + platforms = platforms.linux; 21 + license = licenses.gpl2; 23 22 }; 24 23 }
+13 -21
pkgs/games/xskat/default.nix
··· 1 1 {stdenv, fetchurl, libX11, imake, gccmakedep}: 2 2 3 + stdenv.mkDerivation rec { 4 + pname = "xskat"; 5 + version = "4.0"; 3 6 4 - let 5 - s = # Generated upstream information 6 - rec { 7 - baseName="xskat"; 8 - version="4.0"; 9 - name="${baseName}-${version}"; 10 - 11 - url="http://www.xskat.de/xskat-4.0.tar.gz"; 12 - hash="8ba52797ccbd131dce69b96288f525b0d55dee5de4008733f7a5a51deb831c10"; 13 - sha256="8ba52797ccbd131dce69b96288f525b0d55dee5de4008733f7a5a51deb831c10"; 14 - }; 15 - buildInputs = [ libX11 imake gccmakedep ]; 16 - in 7 + nativeBuildInputs = [ gccmakedep ]; 8 + buildInputs = [ libX11 imake ]; 17 9 18 - stdenv.mkDerivation { 19 - inherit (s) name version; 20 - inherit buildInputs; 21 10 src = fetchurl { 22 - inherit (s) url sha256; 11 + url = "http://www.xskat.de/xskat-${version }.tar.gz"; 12 + sha256 = "8ba52797ccbd131dce69b96288f525b0d55dee5de4008733f7a5a51deb831c10"; 23 13 }; 14 + 24 15 preInstall = '' 25 16 sed -i Makefile \ 26 17 -e "s|.* BINDIR .*| BINDIR = $out/bin|" \ 27 18 -e "s|.* MANPATH .*| MANPATH = $out/man|" 28 19 ''; 20 + 29 21 installTargets = [ "install" "install.man" ]; 30 - meta = { 31 - inherit (s) version; 22 + 23 + meta = with stdenv.lib; { 32 24 description = ''Famous german card game''; 33 - platforms = stdenv.lib.platforms.unix; 34 - license = stdenv.lib.licenses.free; 25 + platforms = platforms.unix; 26 + license = licenses.free; 35 27 longDescription = ''Play the german card game Skat against the AI or over IRC.''; 36 28 homepage = "http://www.xskat.de/"; 37 29 };
+2 -1
pkgs/misc/emulators/hatari/default.nix
··· 12 12 # For pthread_cancel 13 13 cmakeFlags = [ "-DCMAKE_EXE_LINKER_FLAGS=-lgcc_s" ]; 14 14 15 - buildInputs = [ zlib SDL cmake ]; 15 + nativeBuildInputs = [ cmake ]; 16 + buildInputs = [ zlib SDL ]; 16 17 17 18 meta = { 18 19 homepage = "http://hatari.tuxfamily.org/";
+5 -5
pkgs/misc/my-env/default.nix
··· 6 6 packageOverrides = pkgs : with pkgs; { 7 7 sdlEnv = pkgs.myEnvFun { 8 8 name = "sdl"; 9 - nativeBuildInputs = [ pkgconfig ]; 10 - buildInputs = [ stdenv SDL SDL_image SDL_ttf SDL_gfx cmake SDL_net]; 9 + nativeBuildInputs = [ cmake pkg-config ]; 10 + buildInputs = [ stdenv SDL SDL_image SDL_ttf SDL_gfx SDL_net]; 11 11 }; 12 12 }; 13 13 } 14 14 15 - # Then you can install it by: 15 + # Then you can install it by: 16 16 # $ nix-env -i env-sdl 17 - # And you can load it simply calling: 17 + # And you can load it simply calling: 18 18 # $ load-env-sdl 19 19 # and this will update your env vars to have 'make' and 'gcc' finding the SDL 20 20 # headers and libs. ··· 29 29 let complicatedMyEnv = { name, buildInputs ? [], cTags ? [], extraCmds ? ""}: 30 30 pkgs.myEnvFun { 31 31 inherit name; 32 - buildInputs = buildInputs 32 + buildInputs = buildInputs 33 33 ++ map (x : sourceWithTagsDerivation 34 34 ( (addCTaggingInfo x ).passthru.sourceWithTags ) ) cTags; 35 35 extraCmds = ''
+3 -4
pkgs/misc/screensavers/xss-lock/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, docutils, pkgconfig, glib, libpthreadstubs 1 + { stdenv, fetchFromGitHub, cmake, docutils, pkg-config, glib, libpthreadstubs 2 2 , libXau, libXdmcp, xcbutil }: 3 3 4 4 stdenv.mkDerivation { ··· 11 11 sha256 = "040nqgfh564frvqkrkmak3x3h0yadz6kzk81jkfvd9vd20a9drh7"; 12 12 }; 13 13 14 - nativeBuildInputs = [ pkgconfig ]; 15 - buildInputs = [ cmake docutils glib libpthreadstubs libXau 16 - libXdmcp xcbutil ]; 14 + nativeBuildInputs = [ cmake pkg-config docutils ]; 15 + buildInputs = [ glib libpthreadstubs libXau libXdmcp xcbutil ]; 17 16 18 17 meta = with stdenv.lib; { 19 18 description = "Use external locker (such as i3lock) as X screen saver";
-2
pkgs/os-specific/darwin/darling/default.nix
··· 31 31 cp src/libaks/include/* $out/include 32 32 ''; 33 33 34 - # buildInputs = [ cmake bison flex ]; 35 - 36 34 meta = with lib; { 37 35 maintainers = with maintainers; [ matthewbauer ]; 38 36 license = licenses.gpl3;
+2 -1
pkgs/os-specific/darwin/swift-corelibs/libdispatch.nix
··· 8 8 rev = "f83b5a498bad8e9ff8916183cf6e8ccf677c346b"; 9 9 sha256 = "1czkyyc9llq2mnqfp19mzcfsxzas0y8zrk0gr5hg60acna6jkz2l"; 10 10 }; 11 - buildInputs = [ cmake apple_sdk_sierra.sdk xnu-new ]; 11 + nativeBuildInputs = [ cmake ]; 12 + buildInputs = [ apple_sdk_sierra.sdk xnu-new ]; 12 13 }
+4 -2
pkgs/os-specific/linux/anbox/default.nix
··· 1 1 { stdenv, fetchFromGitHub, fetchurl 2 - , cmake, pkgconfig, dbus, makeWrapper 2 + , cmake, pkg-config, dbus, makeWrapper 3 3 , gtest 4 4 , boost 5 5 , libcap ··· 55 55 }; 56 56 57 57 nativeBuildInputs = [ 58 + cmake 59 + pkg-config 58 60 makeWrapper 59 61 ]; 60 62 61 63 buildInputs = [ 62 - cmake pkgconfig dbus boost libcap gtest systemd mesa glib 64 + dbus boost libcap gtest systemd mesa glib 63 65 SDL2 SDL2_image protobuf protobufc properties-cpp lxc python 64 66 libGL 65 67 ];
+3 -6
pkgs/os-specific/linux/libwebcam/default.nix
··· 2 2 , stdenv 3 3 , fetchurl 4 4 , cmake 5 - , pkgconfig 5 + , pkg-config 6 6 , libxml2 7 7 }: 8 8 ··· 19 19 ./uvcdynctrl_symlink_support_and_take_data_dir_from_env.patch 20 20 ]; 21 21 22 - buildInputs = [ 23 - cmake 24 - pkgconfig 25 - libxml2 26 - ]; 22 + nativeBuildInputs = [ cmake pkg-config ]; 23 + buildInputs = [ libxml2 ]; 27 24 28 25 postPatch = '' 29 26 substituteInPlace ./uvcdynctrl/CMakeLists.txt \
+2 -4
pkgs/servers/misc/taskserver/default.nix
··· 4 4 pname = "taskserver"; 5 5 version = "1.1.0"; 6 6 7 - enableParallelBuilding = true; 8 - 9 7 src = fetchurl { 10 8 url = "http://www.taskwarrior.org/download/taskd-${version}.tar.gz"; 11 9 sha256 = "1d110q9vw8g5syzihxymik7hd27z1592wkpz55kya6lphzk8i13v"; ··· 30 28 done 31 29 ''; 32 30 33 - buildInputs = [ makeWrapper ]; 34 - nativeBuildInputs = [ cmake libuuid gnutls ]; 31 + buildInputs = [ libuuid gnutls ]; 32 + nativeBuildInputs = [ cmake makeWrapper ]; 35 33 36 34 meta = { 37 35 description = "Server for synchronising Taskwarrior clients";
+2 -2
pkgs/servers/rippled/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchgit, fetchurl, runCommand, git, cmake, pkgconfig 1 + { stdenv, fetchFromGitHub, fetchgit, fetchurl, runCommand, git, cmake, pkg-config 2 2 , openssl, zlib, boost, grpc, c-ares, abseil-cpp, protobuf3_8, libnsl }: 3 3 4 4 let ··· 129 129 hardeningDisable = ["format"]; 130 130 cmakeFlags = ["-Dstatic=OFF" "-DBoost_NO_BOOST_CMAKE=ON"]; 131 131 132 - nativeBuildInputs = [ pkgconfig cmake git ]; 132 + nativeBuildInputs = [ pkg-config cmake git ]; 133 133 buildInputs = [ openssl openssl.dev boostSharedStatic zlib grpc c-ares c-ares.cmake-config abseil-cpp protobuf3_8 libnsl ]; 134 134 135 135 preConfigure = ''
+2 -3
pkgs/servers/sql/percona/5.6.x.nix
··· 9 9 sha256 = "09qqk02iny7jvngyk6k2j0kk2sspc6gw8sm3i6nn97njbkihi697"; 10 10 }; 11 11 12 - buildInputs = [ cmake bison ncurses openssl zlib libaio perl ]; 13 - 14 - enableParallelBuilding = true; 12 + nativeBuildInputs = [ cmake bison perl ]; 13 + buildInputs = [ ncurses openssl zlib libaio ]; 15 14 16 15 cmakeFlags = [ 17 16 "-DFEATURE_SET=community"
+3 -3
pkgs/servers/uhub/default.nix
··· 1 - { stdenv, fetchpatch, fetchFromGitHub, cmake, openssl, sqlite, pkgconfig, systemd 1 + { stdenv, fetchpatch, fetchFromGitHub, cmake, openssl, sqlite, pkg-config, systemd 2 2 , tlsSupport ? false }: 3 3 4 4 assert tlsSupport -> openssl != null; ··· 14 14 sha256 = "0zdbxfvw7apmfhqgsfkfp4pn9iflzwdn0zwvzymm5inswfc00pxg"; 15 15 }; 16 16 17 - nativeBuildInputs = [ pkgconfig ]; 18 - buildInputs = [ cmake sqlite systemd ] ++ stdenv.lib.optional tlsSupport openssl; 17 + nativeBuildInputs = [ cmake pkg-config ]; 18 + buildInputs = [ sqlite systemd ] ++ stdenv.lib.optional tlsSupport openssl; 19 19 20 20 outputs = [ "out" 21 21 "mod_example"
+3 -3
pkgs/tools/audio/acoustid-fingerprinter/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, cmake, pkgconfig, qt4, taglib, chromaprint, ffmpeg }: 1 + { stdenv, fetchurl, fetchpatch, cmake, pkg-config, qt4, taglib, chromaprint, ffmpeg }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "acoustid-fingerprinter"; ··· 10 10 sha256 = "0ckglwy95qgqvl2l6yd8ilwpd6qs7yzmj8g7lnxb50d12115s5n0"; 11 11 }; 12 12 13 - nativeBuildInputs = [ pkgconfig ]; 14 - buildInputs = [ cmake qt4 taglib chromaprint ffmpeg ]; 13 + nativeBuildInputs = [ cmake pkg-config ]; 14 + buildInputs = [ qt4 taglib chromaprint ffmpeg ]; 15 15 16 16 cmakeFlags = [ "-DTAGLIB_MIN_VERSION=${stdenv.lib.getVersion taglib}" ]; 17 17
+3 -2
pkgs/tools/cd-dvd/cdrkit/default.nix
··· 8 8 sha256 = "1nj7iv3xrq600i37na9a5idd718piiiqbs4zxvpjs66cdrsk1h6i"; 9 9 }; 10 10 11 - buildInputs = [cmake libcap zlib bzip2 perl]; 11 + nativeBuildInputs = [ cmake ]; 12 + buildInputs = [ libcap zlib bzip2 perl ]; 12 13 13 14 hardeningDisable = [ "format" ]; 14 15 ··· 36 37 cdrkit is not affiliated with any of these authors; it is now an 37 38 independent project. 38 39 ''; 39 - 40 + 40 41 homepage = "http://cdrkit.org/"; 41 42 license = stdenv.lib.licenses.gpl2; 42 43 platforms = stdenv.lib.platforms.linux;
+3 -3
pkgs/tools/cd-dvd/vobsub2srt/default.nix
··· 1 - { stdenv, fetchgit, cmake, libtiff, pkgconfig, tesseract }: 1 + { stdenv, fetchgit, cmake, libtiff, pkg-config, tesseract }: 2 2 3 3 let rev = "a6abbd61127a6392d420bbbebdf7612608c943c2"; 4 4 shortRev = builtins.substring 0 7 rev; ··· 12 12 sha256 = "1rpanrv8bgdh95v2320qbd44xskncvq6y84cbbfc86gw0qxpd9cb"; 13 13 }; 14 14 15 - nativeBuildInputs = [ pkgconfig ]; 16 - buildInputs = [ cmake libtiff ]; 15 + nativeBuildInputs = [ cmake pkg-config ]; 16 + buildInputs = [ libtiff ]; 17 17 propagatedBuildInputs = [ tesseract ]; 18 18 19 19 meta = {
+1 -3
pkgs/tools/compression/lzham/default.nix
··· 10 10 sha256 = "14c1zvzmp1ylp4pgayfdfk1kqjb23xj4f7ll1ra7b18wjxc9ja1v"; 11 11 }; 12 12 13 - buildInputs = [ cmake ]; 14 - 15 - enableParallelBuilding = true; 13 + nativeBuildInputs = [ cmake ]; 16 14 17 15 installPhase = '' 18 16 mkdir -p $out/bin
+2 -3
pkgs/tools/filesystems/irods/common.nix
··· 5 5 with stdenv; 6 6 7 7 { 8 - enableParallelBuilding = true; 9 - 10 - buildInputs = [ bzip2 zlib autoconf automake cmake gnumake help2man texinfo libtool cppzmq libarchive avro-cpp jansson zeromq openssl pam libiodbc kerberos gcc boost libcxx which catch2 ]; 8 + nativeBuildInputs = [ autoconf automake cmake gnumake help2man texinfo which gcc ]; 9 + buildInputs = [ bzip2 zlib libtool cppzmq libarchive avro-cpp jansson zeromq openssl pam libiodbc kerberos boost libcxx catch2 ]; 11 10 12 11 cmakeFlags = [ 13 12 "-DIRODS_EXTERNALS_FULLPATH_CLANG=${stdenv.cc}"
+2 -1
pkgs/tools/filesystems/unionfs-fuse/default.nix
··· 19 19 ./prevent-kill-on-shutdown.patch 20 20 ]; 21 21 22 - buildInputs = [ cmake fuse ]; 22 + nativeBuildInputs = [ cmake ]; 23 + buildInputs = [ fuse ]; 23 24 24 25 # Put the unionfs mount helper in place as mount.unionfs-fuse. This makes it 25 26 # possible to do:
+4 -3
pkgs/tools/graphics/appleseed/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, boost165, pkgconfig, guile, 1 + { stdenv, fetchFromGitHub, cmake, boost165, pkg-config, guile, 2 2 eigen, libpng, python, libGLU, qt4, openexr, openimageio, 3 3 opencolorio, xercesc, ilmbase, osl, seexpr, makeWrapper 4 4 }: ··· 18 18 rev = version; 19 19 sha256 = "1sq9s0rzjksdn8ayp1g17gdqhp7fqks8v1ddd3i5rsl96b04fqx5"; 20 20 }; 21 + nativeBuildInputs = [ cmake pkg-config makeWrapper ]; 21 22 buildInputs = [ 22 - cmake pkgconfig boost_static guile eigen libpng python 23 + boost_static guile eigen libpng python 23 24 libGLU qt4 openexr openimageio opencolorio xercesc 24 - osl seexpr makeWrapper 25 + osl seexpr 25 26 ]; 26 27 27 28 NIX_CFLAGS_COMPILE = toString [
+2 -3
pkgs/tools/graphics/gromit-mpx/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkgconfig 1 + { stdenv, fetchFromGitHub, cmake, pkg-config 2 2 , gtk, glib, pcre, libappindicator, libpthreadstubs, libXdmcp 3 3 , libxkbcommon, epoxy, at-spi2-core, dbus, libdbusmenu 4 4 , wrapGAppsHook ··· 15 15 sha256 = "1xn14r7lhay720y78j1fs4amp5lia39kpq7vzv02x4nnwhgbsd9r"; 16 16 }; 17 17 18 - nativeBuildInputs = [ pkgconfig wrapGAppsHook ]; 18 + nativeBuildInputs = [ cmake pkg-config wrapGAppsHook ]; 19 19 buildInputs = [ 20 - cmake 21 20 gtk glib pcre libappindicator libpthreadstubs 22 21 libXdmcp libxkbcommon epoxy at-spi2-core 23 22 dbus libdbusmenu
+6 -6
pkgs/tools/graphics/luxcorerender/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, boost165, pkgconfig, python36 1 + { stdenv, fetchFromGitHub, cmake, boost165, pkg-config, python36 2 2 , tbb, openimageio, libjpeg, libpng, zlib, libtiff, ilmbase 3 3 , freetype, openexr, libXdmcp, libxkbcommon, epoxy, at-spi2-core 4 4 , dbus, doxygen, qt5, c-blosc, libGLU, gnome3, dconf, gtk3, pcre ··· 30 30 inherit sha256; 31 31 }; 32 32 33 + nativeBuildInputs = [ cmake flex bison doxygen makeWrapper pkg-config ]; 33 34 buildInputs = 34 - [ embree2 pkgconfig cmake zlib boost_static libjpeg 35 + [ embree2 zlib boost_static libjpeg 35 36 libtiff libpng ilmbase freetype openexr openimageio 36 - tbb qt5.full c-blosc libGLU pcre bison 37 - flex libX11 libpthreadstubs python libXdmcp libxkbcommon 38 - epoxy at-spi2-core dbus doxygen 37 + tbb qt5.full c-blosc libGLU pcre 38 + libX11 libpthreadstubs python libXdmcp libxkbcommon 39 + epoxy at-spi2-core dbus 39 40 # needed for GSETTINGS_SCHEMAS_PATH 40 41 gsettings-desktop-schemas glib gtk3 41 42 # needed for XDG_ICON_DIRS 42 43 gnome3.adwaita-icon-theme 43 - makeWrapper 44 44 (stdenv.lib.getLib dconf) 45 45 ] ++ stdenv.lib.optionals withOpenCL [opencl-headers ocl-icd opencl-clhpp]; 46 46
+3 -2
pkgs/tools/graphics/yafaray-core/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkgconfig, opencv, zlib 1 + { stdenv, fetchFromGitHub, cmake, pkg-config, opencv, zlib 2 2 , libxml2, freetype, libjpeg, libtiff, swig, openexr 3 3 , ilmbase, boost165 4 4 , withPython ? true, python3 ··· 20 20 NIX_CFLAGS_COMPILE+=" -isystem ${ilmbase.dev}/include/OpenEXR" 21 21 ''; 22 22 23 + nativeBuildInputs = [ cmake pkg-config ]; 23 24 buildInputs = [ 24 - cmake pkgconfig boost165 opencv zlib libxml2 freetype libjpeg libtiff 25 + boost165 opencv zlib libxml2 freetype libjpeg libtiff 25 26 swig openexr ilmbase 26 27 ] ++ stdenv.lib.optional withPython python3; 27 28
+3 -3
pkgs/tools/inputmethods/fcitx-engines/fcitx-anthy/default.nix
··· 1 - { stdenv, fetchurl, cmake, fcitx, anthy, gettext, pkgconfig }: 1 + { stdenv, fetchurl, cmake, fcitx, anthy, gettext, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "fcitx-anthy"; ··· 9 9 sha256 = "01jx7wwq0mifqrzkswfglqhwkszbfcl4jinxgdgqx9kc6mb4k6zd"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 13 - buildInputs = [ cmake fcitx anthy gettext ]; 12 + nativeBuildInputs = [ cmake pkg-config ]; 13 + buildInputs = [ fcitx anthy gettext ]; 14 14 15 15 preInstall = '' 16 16 substituteInPlace src/cmake_install.cmake \
+3 -3
pkgs/tools/inputmethods/fcitx-engines/fcitx-chewing/default.nix
··· 1 - { stdenv, fetchurl, cmake, fcitx, gettext, libchewing, pkgconfig }: 1 + { stdenv, fetchurl, cmake, fcitx, gettext, libchewing, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "fcitx-chewing"; ··· 9 9 sha256 = "1w5smp5zvjx681cp1znjypyr9sw5x6v0wnsk8a7ncwxi9q9wf4xk"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 13 - buildInputs = [ cmake fcitx gettext libchewing ]; 12 + nativeBuildInputs = [ cmake pkg-config ]; 13 + buildInputs = [ fcitx gettext libchewing ]; 14 14 15 15 preInstall = '' 16 16 substituteInPlace src/cmake_install.cmake \
+3 -3
pkgs/tools/inputmethods/fcitx-engines/fcitx-cloudpinyin/default.nix
··· 1 - { stdenv, fetchurl, cmake, pkgconfig, fcitx, gettext, curl }: 1 + { stdenv, fetchurl, cmake, pkg-config, fcitx, gettext, curl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "fcitx-cloudpinyin"; ··· 9 9 sha256 = "0ai347wv3qdjzcbh0j9hdjpzwvh2kk57324xbxq37nzagrdgg5x0"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 13 - buildInputs = [ cmake fcitx gettext curl ]; 12 + nativeBuildInputs = [ cmake pkg-config ]; 13 + buildInputs = [ fcitx gettext curl ]; 14 14 15 15 preInstall = '' 16 16 substituteInPlace src/cmake_install.cmake \
+3 -3
pkgs/tools/inputmethods/fcitx-engines/fcitx-hangul/default.nix
··· 1 - { stdenv, fetchurl, cmake, fcitx, libhangul, gettext, pkgconfig }: 1 + { stdenv, fetchurl, cmake, fcitx, libhangul, gettext, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "fcitx-hangul"; ··· 9 9 sha256 = "0ds4071ljq620w7vnprm2jl8zqqkw7qsxvzbjapqak4jarczvmbd"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 13 - buildInputs = [ cmake fcitx libhangul gettext ]; 12 + nativeBuildInputs = [ cmake pkg-config ]; 13 + buildInputs = [ fcitx libhangul gettext ]; 14 14 15 15 preInstall = '' 16 16 substituteInPlace src/cmake_install.cmake \
+3 -3
pkgs/tools/inputmethods/fcitx-engines/fcitx-libpinyin/default.nix
··· 1 - { stdenv, fetchurl, cmake, pkgconfig, fcitx, gettext, libpinyin, glib, pcre, dbus, qtwebengine, qtbase, fcitx-qt5 }: 1 + { stdenv, fetchurl, cmake, pkg-config, fcitx, gettext, libpinyin, glib, pcre, dbus, qtwebengine, qtbase, fcitx-qt5 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "fcitx-libpinyin"; ··· 9 9 sha256 = "196c229ckib3xvafkk4n3n3jk9rpksfcjsbbwka6a9k2f34qrjj6"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 13 - buildInputs = [ fcitx-qt5 qtbase qtwebengine.dev cmake fcitx gettext libpinyin glib pcre dbus ]; 12 + nativeBuildInputs = [ cmake pkg-config ]; 13 + buildInputs = [ fcitx-qt5 qtbase qtwebengine.dev fcitx gettext libpinyin glib pcre dbus ]; 14 14 15 15 # With a typical installation via NixOS option i18n.inputMethod.fcitx.engines, 16 16 # the FCITXDIR environment variable is set to $out of fcitx-with-plugins,
+3 -3
pkgs/tools/inputmethods/fcitx-engines/fcitx-m17n/default.nix
··· 1 - { stdenv, fetchurl, cmake, fcitx, gettext, m17n_lib, m17n_db, pkgconfig }: 1 + { stdenv, fetchurl, cmake, fcitx, gettext, m17n_lib, m17n_db, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "fcitx-m17n"; ··· 9 9 sha256 = "15s52h979xz967f8lm0r0qkplig2w3wjck1ymndbg9kvj25ib0ng"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 13 - buildInputs = [ cmake fcitx gettext m17n_lib m17n_db ]; 12 + nativeBuildInputs = [ cmake pkg-config ]; 13 + buildInputs = [ fcitx gettext m17n_lib m17n_db ]; 14 14 15 15 preInstall = '' 16 16 substituteInPlace im/cmake_install.cmake \
+3 -2
pkgs/tools/inputmethods/fcitx-engines/fcitx-rime/default.nix
··· 1 - { stdenv, fetchurl, cmake, pkgconfig, fcitx, librime, brise, hicolor-icon-theme }: 1 + { stdenv, fetchurl, cmake, pkg-config, fcitx, librime, brise, hicolor-icon-theme }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "fcitx-rime"; ··· 9 9 sha256 = "0bd8snfa6jr8dhnm0s0z021iryh5pbaf7p15rhkgbigw2pssczpr"; 10 10 }; 11 11 12 - buildInputs = [ cmake pkgconfig fcitx librime brise hicolor-icon-theme ]; 12 + nativeBuildInputs = [ cmake pkg-config ]; 13 + buildInputs = [ fcitx librime brise hicolor-icon-theme ]; 13 14 14 15 # cmake cannont automatically find our nonstandard brise install location 15 16 cmakeFlags = [ "-DRIME_DATA_DIR=${brise}/share/rime-data" ];
+2 -1
pkgs/tools/inputmethods/fcitx-engines/fcitx-table-extra/default.nix
··· 9 9 sha256 = "c91bb19c1a7b53c5339bf2f75ae83839020d337990f237a8b9bc0f4416c120ef"; 10 10 }; 11 11 12 - buildInputs = [ cmake fcitx gettext ]; 12 + nativeBuildInputs = [ cmake ]; 13 + buildInputs = [ fcitx gettext ]; 13 14 14 15 preInstall = '' 15 16 substituteInPlace tables/cmake_install.cmake \
+2 -1
pkgs/tools/inputmethods/fcitx-engines/fcitx-table-other/default.nix
··· 9 9 sha256 = "1di60lr6l5k2sdwi3yrc0hl89j2k0yipayrsn803vd040w1fgfhq"; 10 10 }; 11 11 12 - buildInputs = [ cmake fcitx gettext ]; 12 + nativeBuildInputs = [ cmake ]; 13 + buildInputs = [ fcitx gettext ]; 13 14 14 15 preInstall = '' 15 16 substituteInPlace tables/cmake_install.cmake \
+4 -4
pkgs/tools/inputmethods/fcitx-engines/fcitx-unikey/default.nix
··· 1 - { stdenv, fetchurl, cmake, fcitx, gettext, pkgconfig }: 1 + { stdenv, fetchurl, cmake, fcitx, gettext, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "fcitx-unikey"; ··· 9 9 sha256 = "063vc29v7ycaai98v3z4q319sv9sm91my17pmhblw1vifxnw02wf"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 13 - buildInputs = [ cmake fcitx gettext ]; 12 + nativeBuildInputs = [ cmake pkg-config ]; 13 + buildInputs = [ fcitx gettext ]; 14 14 15 15 NIX_CFLAGS_COMPILE = "-Wno-narrowing"; 16 16 ··· 20 20 substituteInPlace data/cmake_install.cmake \ 21 21 --replace ${fcitx} $out 22 22 ''; 23 - 23 + 24 24 meta = with stdenv.lib; { 25 25 isFcitxEngine = true; 26 26 homepage = "https://github.com/fcitx/fcitx-unikey";
+3 -5
pkgs/tools/inputmethods/fcitx/fcitx-configtool.nix
··· 1 - { stdenv, fetchurl, makeWrapper, pkgconfig, cmake, fcitx, gtk3, isocodes, gnome3 }: 1 + { stdenv, fetchurl, makeWrapper, pkg-config, cmake, fcitx, gtk3, isocodes, gnome3 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "fcitx-configtool-0.4.10"; ··· 15 15 sha256 = "1yyi9jhkwn49lx9a47k1zbvwgazv4y4z72gnqgzdpgdzfrlrgi5w"; 16 16 }; 17 17 18 - nativeBuildInputs = [ pkgconfig ]; 19 - buildInputs = [ makeWrapper fcitx cmake isocodes gtk3 20 - gnome3.adwaita-icon-theme ]; 18 + nativeBuildInputs = [ cmake pkg-config makeWrapper ]; 19 + buildInputs = [ fcitx isocodes gtk3 gnome3.adwaita-icon-theme ]; 21 20 22 21 # Patch paths to `fcitx-remote` 23 22 prePatch = '' ··· 32 31 --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"; 33 32 ''; 34 33 } 35 -
+3 -2
pkgs/tools/inputmethods/ibus-engines/ibus-table-chinese/default.nix
··· 1 - { stdenv, fetchgit, fetchFromGitHub, pkgconfig, ibus, ibus-table, python3, cmake }: 1 + { stdenv, fetchgit, fetchFromGitHub, pkg-config, ibus, ibus-table, python3, cmake }: 2 2 3 3 let 4 4 src = fetchFromGitHub { ··· 51 51 rm -rf $HOME 52 52 ''; 53 53 54 - buildInputs = [ pkgconfig ibus ibus-table python3 cmake ]; 54 + nativeBuildInputs = [ cmake pkg-config ]; 55 + buildInputs = [ ibus ibus-table python3 ]; 55 56 56 57 meta = with stdenv.lib; { 57 58 isIbusEngine = true;
+3 -5
pkgs/tools/inputmethods/ibus/ibus-qt.nix
··· 1 - { stdenv, fetchurl, ibus, cmake, pkgconfig, qt4, icu, doxygen }: 1 + { stdenv, fetchurl, ibus, cmake, pkg-config, qt4, icu, doxygen }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ibus-qt"; ··· 9 9 sha256 = "1q9g7qghpcf07valc2ni7yf994xqx2pmdffknj7scxfidav6p19g"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 13 - buildInputs = [ 14 - ibus cmake qt4 icu doxygen 15 - ]; 12 + nativeBuildInputs = [ cmake pkg-config doxygen ]; 13 + buildInputs = [ ibus qt4 icu ]; 16 14 17 15 cmakeFlags = [ "-DQT_PLUGINS_DIR=lib/qt4/plugins" ]; 18 16
+2 -1
pkgs/tools/misc/aspcud/default.nix
··· 11 11 sha256 = "0vrf7h7g99vw1mybqfrpxamsnf89p18czlzgjmxl1zkiwc7vjpzw"; 12 12 }; 13 13 14 - buildInputs = [ boost clasp cmake gringo re2c ]; 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ boost clasp gringo re2c ]; 15 16 16 17 cmakeFlags = [ 17 18 "-DCMAKE_BUILD_TYPE=Release"
+1 -1
pkgs/tools/misc/bcunit/default.nix
··· 9 9 # https://gitlab.linphone.org/BC/public/bcunit/issues/1 10 10 version = "unstable-2019-11-19"; 11 11 12 - buildInputs = [ cmake ]; 12 + nativeBuildInputs = [ cmake ]; 13 13 src = fetchFromGitLab { 14 14 domain = "gitlab.linphone.org"; 15 15 owner = "public";
+6 -6
pkgs/tools/misc/ddate/default.nix
··· 1 - {stdenv, fetchFromGitHub, cmake} : 1 + { stdenv, fetchFromGitHub, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ddate"; ··· 11 11 sha256 = "1qchxnxvghbma6gp1g78wnjxsri0b72ha9axyk31cplssl7yn73f"; 12 12 }; 13 13 14 - buildInputs = [ cmake ]; 14 + nativeBuildInputs = [ cmake ]; 15 15 16 - meta = { 16 + meta = with stdenv.lib; { 17 17 homepage = "https://github.com/bo0ts/ddate"; 18 18 description = "Discordian version of the date program"; 19 - license = stdenv.lib.licenses.publicDomain; 20 - maintainers = with stdenv.lib.maintainers; [ kovirobi ]; 21 - platforms = stdenv.lib.platforms.all; 19 + license = licenses.publicDomain; 20 + maintainers = with maintainers; [ kovirobi ]; 21 + platforms = platforms.all; 22 22 }; 23 23 }
+3 -3
pkgs/tools/misc/sdl-jstest/default.nix
··· 1 - { stdenv, fetchgit, cmake, pkgconfig, SDL, SDL2, ncurses, docbook_xsl, git }: 1 + { stdenv, fetchgit, cmake, pkg-config, SDL, SDL2, ncurses, docbook_xsl, git }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "sdl-jstest"; ··· 12 12 }; 13 13 14 14 buildInputs = [ SDL SDL2 ncurses ]; 15 - nativeBuildInputs = [ cmake pkgconfig docbook_xsl git ]; 16 - 15 + nativeBuildInputs = [ cmake pkg-config docbook_xsl git ]; 16 + 17 17 meta = with stdenv.lib; { 18 18 homepage = "https://github.com/Grumbel/sdl-jstest"; 19 19 description = "Simple SDL joystick test application for the console";
+3 -3
pkgs/tools/misc/wv2/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, cmake, libgsf, glib, libxml2 }: 1 + { stdenv, fetchurl, pkg-config, cmake, libgsf, glib, libxml2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "wv2-0.4.2"; ··· 9 9 10 10 patches = [ ./fix-include.patch ]; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 13 - buildInputs = [ cmake libgsf glib libxml2 ]; 12 + nativeBuildInputs = [ cmake pkg-config ]; 13 + buildInputs = [ libgsf glib libxml2 ]; 14 14 15 15 NIX_CFLAGS_COMPILE = "-I${libxml2.dev}/include/libxml2"; 16 16
+6 -6
pkgs/tools/networking/badvpn/default.nix
··· 1 - {stdenv, fetchurl, cmake, openssl, nss, pkgconfig, nspr, bash, debug ? false}: 1 + {stdenv, fetchurl, cmake, openssl, nss, pkg-config, nspr, bash, debug ? false}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 10 10 sha256="02b1fra43l75mljkhrq45vcrrqv0znicjn15g7nbqx3jppzbpm5z"; 11 11 }; 12 12 13 - buildInputs = [ 14 - cmake openssl nss nspr 15 - ]; 13 + 16 14 compileFlags = "-O3 ${stdenv.lib.optionalString (!debug) "-DNDEBUG"}"; 17 15 in 18 16 stdenv.mkDerivation { 19 17 inherit (s) name version; 20 - nativeBuildInputs = [ pkgconfig ]; 21 - inherit buildInputs; 18 + nativeBuildInputs = [ cmake pkg-config ]; 19 + buildInputs = [ 20 + openssl nss nspr 21 + ]; 22 22 src = fetchurl { 23 23 inherit (s) url sha256; 24 24 };
+2 -1
pkgs/tools/security/haka/default.nix
··· 21 21 sed -i 's,/etc,'$out'/etc,' doc/user/tool_suite_haka.rst 22 22 ''; 23 23 24 - buildInputs = [ cmake swig wireshark check rsync libpcap gawk libedit pcre ]; 24 + nativeBuildInputs = [ cmake ]; 25 + buildInputs = [ swig wireshark check rsync libpcap gawk libedit pcre ]; 25 26 26 27 enableParallelBuilding = true; 27 28
+7 -6
pkgs/tools/text/ebook-tools/default.nix
··· 1 - { stdenv, fetchurl, cmake, pkgconfig, libxml2, libzip }: 1 + { stdenv, fetchurl, cmake, pkg-config, libxml2, libzip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "ebook-tools-0.2.2"; ··· 8 8 sha256 = "1bi7wsz3p5slb43kj7lgb3r6lb91lvb6ldi556k4y50ix6b5khyb"; 9 9 }; 10 10 11 - nativeBuildInputs = [ pkgconfig ]; 12 - buildInputs = [ cmake libxml2 libzip ]; 11 + nativeBuildInputs = [ cmake pkg-config ]; 12 + buildInputs = [ libxml2 libzip ]; 13 13 14 - preConfigure = 14 + preConfigure = 15 15 '' 16 16 NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags libzip)" 17 17 ''; 18 18 19 - meta = { 19 + meta = with stdenv.lib; { 20 20 homepage = "http://ebook-tools.sourceforge.net"; 21 21 description = "Tools and library for dealing with various ebook file formats"; 22 22 maintainers = [ ]; 23 - platforms = stdenv.lib.platforms.all; 23 + platforms = platforms.all; 24 + license = licenses.mit; 24 25 }; 25 26 }
+3 -1
pkgs/tools/text/jumanpp/default.nix
··· 1 1 { stdenv, fetchurl, cmake, protobuf }: 2 + 2 3 stdenv.mkDerivation rec { 3 4 pname = "jumanpp"; 4 5 version = "2.0.0-rc2"; ··· 7 8 url = "https://github.com/ku-nlp/${pname}/releases/download/v${version}/${pname}-${version}.tar.xz"; 8 9 sha256 = "17fzmd0f5m9ayfhsr0mg7hjp3pg1mhbgknhgyd8v87x46g8bg6qp"; 9 10 }; 10 - buildInputs = [ cmake protobuf ]; 11 + nativeBuildInputs = [ cmake ]; 12 + buildInputs = [ protobuf ]; 11 13 12 14 meta = with stdenv.lib; { 13 15 description = "A Japanese morphological analyser using a recurrent neural network language model (RNNLM)";