treewide: cmake buildInputs to nativeBuildInputs, minor cleanups

This commit is contained in:
Ben Siraphob 2020-12-31 14:48:55 +07:00
parent 54ab07c1fe
commit b04fc593e7
212 changed files with 611 additions and 634 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub , cairomm, cmake, libjack2, libpthreadstubs, libXdmcp, libxshmfence, libsndfile, lv2, ntk, pkgconfig }: { stdenv, fetchFromGitHub , cairomm, cmake, libjack2, libpthreadstubs, libXdmcp, libxshmfence, libsndfile, lv2, ntk, pkg-config }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "artyFX"; pname = "artyFX";
@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
sha256 = "0wwg8ivnpyy0235bapjy4g0ij85zq355jwi6c1nkrac79p4z9ail"; sha256 = "0wwg8ivnpyy0235bapjy4g0ij85zq355jwi6c1nkrac79p4z9ail";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ cairomm cmake libjack2 libpthreadstubs libXdmcp libxshmfence libsndfile lv2 ntk ]; buildInputs = [ cairomm libjack2 libpthreadstubs libXdmcp libxshmfence libsndfile lv2 ntk ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "http://openavproductions.com/artyfx/"; homepage = "http://openavproductions.com/artyfx/";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, cmake, fftw, gtkmm2, libxcb, lv2, pkgconfig { stdenv, fetchurl, fetchpatch, cmake, fftw, gtkmm2, libxcb, lv2, pkg-config
, xorg }: , xorg }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "eq10q"; pname = "eq10q";
@ -8,8 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "16mhcav8gwkp29k9ki4dlkajlcgh1i2wvldabxb046d37dq4qzrk"; sha256 = "16mhcav8gwkp29k9ki4dlkajlcgh1i2wvldabxb046d37dq4qzrk";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ cmake fftw gtkmm2 libxcb lv2 xorg.libpthreadstubs xorg.libXdmcp xorg.libxshmfence ]; buildInputs = [ fftw gtkmm2 libxcb lv2 xorg.libpthreadstubs xorg.libXdmcp xorg.libxshmfence ];
patches = [ patches = [
(fetchpatch { (fetchpatch {

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libuv, lv2 }: { stdenv, fetchFromGitHub, cmake, pkg-config, libuv, lv2 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "eteroj.lv2"; pname = "eteroj.lv2";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ libuv lv2 ]; buildInputs = [ libuv lv2 ];
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "OSC injection/ejection from/to UDP/TCP/Serial for LV2"; description = "OSC injection/ejection from/to UDP/TCP/Serial for LV2";

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"; sha256 = "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb";
}; };
buildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://bitbucket.org/mpyne/game-music-emu/wiki/Home"; homepage = "https://bitbucket.org/mpyne/game-music-emu/wiki/Home";

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl { stdenv, fetchurl
, pkgconfig, cmake, python3, ffmpeg_3, phonon, automoc4 , pkg-config, cmake, python3, ffmpeg_3, phonon, automoc4
, chromaprint, docbook_xml_dtd_45, docbook_xsl, libxslt , chromaprint, docbook_xml_dtd_45, docbook_xsl, libxslt
, id3lib, taglib, mp4v2, flac, libogg, libvorbis , id3lib, taglib, mp4v2, flac, libogg, libvorbis
, zlib, readline , qtbase, qttools, qtmultimedia, qtquickcontrols , zlib, readline , qtbase, qttools, qtmultimedia, qtquickcontrols
@ -15,12 +15,11 @@ stdenv.mkDerivation rec {
sha256 = "sha256-WYuEOqMu2VMOv6mkVCRXnmInFER/DWfPNqYuaTJ3vAc="; sha256 = "sha256-WYuEOqMu2VMOv6mkVCRXnmInFER/DWfPNqYuaTJ3vAc=";
}; };
nativeBuildInputs = [ wrapQtAppsHook ]; nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
buildInputs = [ buildInputs = [ python3 ffmpeg_3 phonon automoc4 chromaprint
pkgconfig cmake python3 ffmpeg_3 phonon automoc4 docbook_xml_dtd_45 docbook_xsl libxslt id3lib taglib mp4v2 flac
chromaprint docbook_xml_dtd_45 docbook_xsl libxslt libogg libvorbis zlib readline qtbase qttools qtmultimedia
id3lib taglib mp4v2 flac libogg libvorbis zlib readline qtquickcontrols ];
qtbase qttools qtmultimedia qtquickcontrols ];
cmakeFlags = [ "-DWITH_APPS=Qt;CLI" ]; cmakeFlags = [ "-DWITH_APPS=Qt;CLI" ];
NIX_LDFLAGS = "-lm -lpthread"; NIX_LDFLAGS = "-lm -lpthread";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, ncurses, libpulseaudio, pkgconfig }: { stdenv, fetchFromGitHub, cmake, ncurses, libpulseaudio, pkg-config }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ ncurses libpulseaudio ]; buildInputs = [ ncurses libpulseaudio ];
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
configurePhase = '' configurePhase = ''
make PREFIX=$out build/Makefile make PREFIX=$out build/Makefile

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, alsaLib, cmake, gtk2, libjack2, libgnomecanvas { stdenv, fetchurl, alsaLib, cmake, gtk2, libjack2, libgnomecanvas
, libpthreadstubs, libsamplerate, libsndfile, libtool, libxml2 , libpthreadstubs, libsamplerate, libsndfile, libtool, libxml2
, pkgconfig, openssl }: , pkg-config, openssl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "petri-foo"; pname = "petri-foo";
@ -11,10 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "0b25iicgn8c42487fdw32ycfrll1pm2zjgy5djvgw6mfcaa4gizh"; sha256 = "0b25iicgn8c42487fdw32ycfrll1pm2zjgy5djvgw6mfcaa4gizh";
}; };
buildInputs = nativeBuildInputs = [ cmake pkg-config ];
[ alsaLib cmake gtk2 libjack2 libgnomecanvas libpthreadstubs
libsamplerate libsndfile libtool libxml2 pkgconfig openssl buildInputs = [ alsaLib gtk2 libjack2 libgnomecanvas libpthreadstubs
]; libsamplerate libsndfile libtool libxml2 openssl ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "MIDI controllable audio sampler"; description = "MIDI controllable audio sampler";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub , boost, cairomm, cmake, libsndfile, lv2, ntk, pkgconfig, python }: { stdenv, fetchFromGitHub , boost, cairomm, cmake, libsndfile, lv2, ntk, pkg-config, python }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sorcer"; pname = "sorcer";
@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1x7pi77nal10717l02qpnhrx6d7w5nqrljkn9zx5w7gpb8fpb3vp"; sha256 = "1x7pi77nal10717l02qpnhrx6d7w5nqrljkn9zx5w7gpb8fpb3vp";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ boost cairomm cmake libsndfile lv2 ntk python ]; buildInputs = [ boost cairomm libsndfile lv2 ntk python ];
postPatch = '' postPatch = ''
# Fix build with lv2 1.18: https://github.com/brummer10/guitarix/commit/c0334c72 # Fix build with lv2 1.18: https://github.com/brummer10/guitarix/commit/c0334c72

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, mpd_clientlib, openssl }: { stdenv, fetchFromGitHub, cmake, pkg-config, mpd_clientlib, openssl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ympd"; pname = "ympd";
@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1nvb19jd556v2h2bi7w4dcl507p3p8xvjkqfzrcsy7ccy3502brq"; sha256 = "1nvb19jd556v2h2bi7w4dcl507p3p8xvjkqfzrcsy7ccy3502brq";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ cmake mpd_clientlib openssl ]; buildInputs = [ mpd_clientlib openssl ];
meta = { meta = {
homepage = "https://www.ympd.org"; homepage = "https://www.ympd.org";

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, alsaLib, cairo, cmake, libjack2, fftw, fltk13, lash, libjpeg { stdenv, fetchurl, alsaLib, cairo, cmake, libjack2, fftw, fltk13, lash, libjpeg
, libXpm, minixml, ntk, pkgconfig, zlib, liblo , libXpm, minixml, ntk, pkg-config, zlib, liblo
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ alsaLib cairo libjack2 fftw fltk13 lash libjpeg libXpm minixml ntk zlib liblo ]; buildInputs = [ alsaLib cairo libjack2 fftw fltk13 lash libjpeg libXpm minixml ntk zlib liblo ];
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
patchPhase = '' patchPhase = ''
substituteInPlace src/Misc/Config.cpp --replace /usr $out substituteInPlace src/Misc/Config.cpp --replace /usr $out

View File

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "12mdfjvbhdqz1585772rj4cap8m4ijfci6ib62jysxjf747k41fg"; sha256 = "12mdfjvbhdqz1585772rj4cap8m4ijfci6ib62jysxjf747k41fg";
}; };
buildInputs = [ cmake makeWrapper alsaLib mesa_glu libXcursor libXinerama libXrandr xorgserver ]; nativeBuildInputs = [ cmake makeWrapper ];
buildInputs = [ alsaLib mesa_glu libXcursor libXinerama libXrandr xorgserver ];
postFixup = '' postFixup = ''
wrapProgram $out/bin/Bonzomatic --prefix LD_LIBRARY_PATH : "${alsaLib}/lib" wrapProgram $out/bin/Bonzomatic --prefix LD_LIBRARY_PATH : "${alsaLib}/lib"

View File

@ -583,7 +583,8 @@ let
}; };
vterm = super.vterm.overrideAttrs (old: { vterm = super.vterm.overrideAttrs (old: {
buildInputs = old.buildInputs ++ [ self.emacs pkgs.cmake pkgs.libvterm-neovim ]; nativeBuildInputs = [ pkgs.cmake ];
buildInputs = old.buildInputs ++ [ self.emacs pkgs.libvterm-neovim ];
cmakeFlags = [ cmakeFlags = [
"-DEMACS_SOURCE=${self.emacs.src}" "-DEMACS_SOURCE=${self.emacs.src}"
"-DUSE_SYSTEM_LIBVTERM=ON" "-DUSE_SYSTEM_LIBVTERM=ON"

View File

@ -8,7 +8,8 @@ stdenv.mkDerivation {
sha256 = "0dqk8ff82gmy4v5ns5nr9gpzkc1p7c2y8c8fkid102r47wsjk44s"; sha256 = "0dqk8ff82gmy4v5ns5nr9gpzkc1p7c2y8c8fkid102r47wsjk44s";
}; };
buildInputs = [ cmake libpng libtiff libjpeg panotools libxml2 ]; nativeBuildInputs = [ cmake ];
buildInputs = [ libpng libtiff libjpeg panotools libxml2 ];
patches = [ patches = [
(fetchurl { (fetchurl {

View File

@ -27,7 +27,7 @@ in mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
cmake coin3d xercesc ode eigen opencascade-occt gts coin3d xercesc ode eigen opencascade-occt gts
zlib swig gfortran soqt libf2c makeWrapper mpi vtk hdf5 medfile zlib swig gfortran soqt libf2c makeWrapper mpi vtk hdf5 medfile
libGLU libXmu qtbase qttools qtwebengine qtxmlpatterns libGLU libXmu qtbase qttools qtwebengine qtxmlpatterns
] ++ (with pythonPackages; [ ] ++ (with pythonPackages; [

View File

@ -9,8 +9,8 @@ stdenv.mkDerivation {
sha256 = "1w19abqjn64w47m35alg7bcdl1p97nf11zn64cp4p0dydihmhv56"; sha256 = "1w19abqjn64w47m35alg7bcdl1p97nf11zn64cp4p0dydihmhv56";
}; };
buildInputs = [ libjpeg libGLU libGL freeglut zlib cmake libX11 libxml2 libpng nativeBuildInputs = [ cmake ];
libXxf86vm ]; buildInputs = [ libjpeg libGLU libGL freeglut zlib libX11 libxml2 libpng libXxf86vm ];
postPatch = '' postPatch = ''
sed -i -e '/GECKO/d' CMakeLists.txt sed -i -e '/GECKO/d' CMakeLists.txt

View File

@ -1,7 +1,6 @@
{stdenv, fetchFromGitHub, flex, bison, cmake, git, zlib}: {stdenv, fetchFromGitHub, flex, bison, cmake, git, zlib}:
stdenv.mkDerivation { stdenv.mkDerivation {
version = "2018-08-15"; version = "2018-08-15";
pname = "pbrt-v3"; pname = "pbrt-v3";
@ -18,12 +17,13 @@ stdenv.mkDerivation {
./openexr-cmake-3.12.patch ./openexr-cmake-3.12.patch
]; ];
buildInputs = [ git flex bison cmake zlib ]; nativeBuildInputs = [ flex bison cmake ];
buildInputs = [ zlib ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "http://pbrt.org"; homepage = "http://pbrt.org";
description = "The renderer described in the third edition of the book 'Physically Based Rendering: From Theory To Implementation'"; description = "The renderer described in the third edition of the book 'Physically Based Rendering: From Theory To Implementation'";
platforms = platforms.linux ; platforms = platforms.linux;
license = licenses.bsd2; license = licenses.bsd2;
maintainers = [ maintainers.juliendehos ]; maintainers = [ maintainers.juliendehos ];
priority = 10; priority = 10;

View File

@ -8,7 +8,8 @@ stdenv.mkDerivation {
sha256 = "1pjx3a6hs16az6rki59bchy3biy7jndjx8r125q01aq7lbf5npgg"; sha256 = "1pjx3a6hs16az6rki59bchy3biy7jndjx8r125q01aq7lbf5npgg";
}; };
buildInputs = [ qt4 cmake libjpeg libtiff boost ]; nativeBuildInputs = [ cmake ];
buildInputs = [ qt4 libjpeg libtiff boost ];
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
# for tracking usage. # for tracking usage.
consumerKey = "23e747012c68601f27ab69c6de129ed70552d55b6"; consumerKey = "23e747012c68601f27ab69c6de129ed70552d55b6";
consumerSecret = "4701cb00c1bd357bbcae7c3d713dd216"; consumerSecret = "4701cb00c1bd357bbcae7c3d713dd216";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "olav-st"; owner = "olav-st";
repo = "screencloud"; repo = "screencloud";
@ -17,7 +17,8 @@ stdenv.mkDerivation rec {
sha256 = "1s0dxa1sa37nvna5nfqdsp294810favj68qb7ghl78qna7zw0cim"; sha256 = "1s0dxa1sa37nvna5nfqdsp294810favj68qb7ghl78qna7zw0cim";
}; };
buildInputs = [ cmake qt4 quazip qt-mobility qxt pythonPackages.python pythonPackages.pycrypto ]; nativeBuildInputs = [ cmake ];
buildInputs = [ qt4 quazip qt-mobility qxt pythonPackages.python pythonPackages.pycrypto ];
patchPhase = '' patchPhase = ''
# Required to make the configure script work. Normally, screencloud's # Required to make the configure script work. Normally, screencloud's
@ -28,8 +29,6 @@ stdenv.mkDerivation rec {
substituteInPlace "CMakeLists.txt" --replace "set(CMAKE_INSTALL_PREFIX \"/opt\")" "" substituteInPlace "CMakeLists.txt" --replace "set(CMAKE_INSTALL_PREFIX \"/opt\")" ""
''; '';
enableParallelBuilding = true;
# We need to append /opt to our CMAKE_INSTALL_PREFIX, so we tell the Nix not # We need to append /opt to our CMAKE_INSTALL_PREFIX, so we tell the Nix not
# to add the argument for us. # to add the argument for us.
dontAddPrefix = true; dontAddPrefix = true;

View File

@ -16,9 +16,8 @@ stdenv.mkDerivation rec {
cd src cd src
''; '';
enableParallelBuilding = true; nativeBuildInputs = [ cmake ];
buildInputs = [ qt4 fftw ];
buildInputs = [ cmake qt4 fftw ];
cmakeFlags = [ "-DUSE_SYSTEM_FFTW=ON" ]; cmakeFlags = [ "-DUSE_SYSTEM_FFTW=ON" ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchpatch, cmake, pkgconfig, pcre, libxkbcommon, epoxy { stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config, pcre, libxkbcommon, epoxy
, gtk3, poppler, freetype, libpthreadstubs, libXdmcp, libxshmfence, wrapGAppsHook , gtk3, poppler, freetype, libpthreadstubs, libXdmcp, libxshmfence, wrapGAppsHook
}: }:
@ -16,12 +16,12 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-I${poppler.dev}/include/poppler"; NIX_CFLAGS_COMPILE = "-I${poppler.dev}/include/poppler";
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig cmake
pkg-config
wrapGAppsHook wrapGAppsHook
]; ];
buildInputs = [ buildInputs = [
cmake
poppler pcre libxkbcommon epoxy poppler pcre libxkbcommon epoxy
freetype gtk3 freetype gtk3
libpthreadstubs libXdmcp libxshmfence # otherwise warnings in compilation libpthreadstubs libXdmcp libxshmfence # otherwise warnings in compilation

View File

@ -1,18 +1,17 @@
{ stdenv, mkDerivation, fetchgit, cmake, file, qtbase, qttools, solid }: { stdenv, fetchgit, cmake, file, qtbase, qttools, solid }:
let stdenv.mkDerivation {
version = "git-2016-01-10";
in
mkDerivation {
pname = "dfilemanager"; pname = "dfilemanager";
inherit version; version = "git-2016-01-10";
src = fetchgit { src = fetchgit {
url = "git://git.code.sf.net/p/dfilemanager/code"; url = "git://git.code.sf.net/p/dfilemanager/code";
rev = "2c5078b05e0ad74c037366be1ab3e6a03492bde4"; rev = "2c5078b05e0ad74c037366be1ab3e6a03492bde4";
sha256 = "1qwhnlcc2j8sr1f3v63sxs3m7q7w1xy6c2jqsnznjgm23b5h3hxd"; sha256 = "1qwhnlcc2j8sr1f3v63sxs3m7q7w1xy6c2jqsnznjgm23b5h3hxd";
}; };
buildInputs = [ cmake qtbase qttools file solid ]; nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase qttools file solid ];
cmakeFlags = [ "-DQT5BUILD=true" ]; cmakeFlags = [ "-DQT5BUILD=true" ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, libgcrypt, qt4, xorg, ... }: { stdenv, fetchurl, cmake, libgcrypt, qt4, xorg }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "keepassx2"; pname = "keepassx2";
@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1ia7cqx9ias38mnffsl7da7g1f66bcbjsi23k49sln0c6spb9zr3"; sha256 = "1ia7cqx9ias38mnffsl7da7g1f66bcbjsi23k49sln0c6spb9zr3";
}; };
buildInputs = [ cmake libgcrypt qt4 xorg.libXtst ]; nativeBuildInputs = [ cmake ];
buildInputs = [ libgcrypt qt4 xorg.libXtst ];
meta = { meta = {
description = "Qt password manager compatible with its Win32 and Pocket PC versions"; description = "Qt password manager compatible with its Win32 and Pocket PC versions";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, pkgconfig { stdenv, fetchurl, makeWrapper, pkg-config
, zip, python, zlib, which, icu, libmicrohttpd, lzma, aria2, wget, bc , zip, python, zlib, which, icu, libmicrohttpd, lzma, aria2, wget, bc
, libuuid, libX11, libXext, libXt, libXrender, glib, dbus, dbus-glib , libuuid, libX11, libXext, libXt, libXrender, glib, dbus, dbus-glib
, gtk2, gdk-pixbuf, pango, cairo, freetype, fontconfig, alsaLib, atk, cmake , gtk2, gdk-pixbuf, pango, cairo, freetype, fontconfig, alsaLib, atk, cmake
@ -38,7 +38,7 @@ let
sha256 = "0sqk0vdwjq44jxbbkj1cy8qykrmafs1sickzldb2w2nshsnjshhg"; sha256 = "0sqk0vdwjq44jxbbkj1cy8qykrmafs1sickzldb2w2nshsnjshhg";
}; };
buildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
unpackPhase = '' unpackPhase = ''
# not a nice src archive: all the files are in the root :( # not a nice src archive: all the files are in the root :(
@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
sha256 = "0577phhy2na59cpcqjgldvksp0jwczyg0l6c9ghnr19i375l7yqc"; sha256 = "0577phhy2na59cpcqjgldvksp0jwczyg0l6c9ghnr19i375l7yqc";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [
zip python zlib xapian which icu libmicrohttpd zip python zlib xapian which icu libmicrohttpd
lzma zimlib ctpp2 aria2 wget bc libuuid makeWrapper pugixml lzma zimlib ctpp2 aria2 wget bc libuuid makeWrapper pugixml

View File

@ -1,4 +1,4 @@
{ stdenv, pkgconfig, fetchFromGitHub, fetchpatch { stdenv, pkg-config, fetchFromGitHub, fetchpatch
, cmake, boost , cmake, boost
, portmidi, sqlite , portmidi, sqlite
, freetype, libpng, pngpp, zlib , freetype, libpng, pngpp, zlib
@ -29,9 +29,9 @@ stdenv.mkDerivation rec {
}) })
]; ];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ buildInputs = [
cmake boost boost
portmidi sqlite portmidi sqlite
freetype libpng pngpp zlib freetype libpng pngpp zlib
wxGTK30 wxsqlite3 wxGTK30 wxsqlite3

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, cmake, gtk2, wxGTK30, libpulseaudio, curl, { stdenv, fetchFromGitHub, pkg-config, cmake, gtk2, wxGTK30, libpulseaudio, curl,
gettext, glib, portaudio }: gettext, glib, portaudio }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
sha256 = "0yiqahkzwcbzgabc5xgxmwlngapkfiaqyva3mwz29xj0c5lg2bdk"; sha256 = "0yiqahkzwcbzgabc5xgxmwlngapkfiaqyva3mwz29xj0c5lg2bdk";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ cmake gtk2 wxGTK30 libpulseaudio curl gettext buildInputs = [ gtk2 wxGTK30 libpulseaudio curl gettext
glib portaudio ]; glib portaudio ];
cmakeFlags = [ cmakeFlags = [
@ -21,8 +21,6 @@ stdenv.mkDerivation rec {
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include" "-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
]; ];
enableParallelBuilding = true;
meta = { meta = {
description = "A concise ChartPlotter/Navigator"; description = "A concise ChartPlotter/Navigator";
maintainers = [ stdenv.lib.maintainers.kragniz ]; maintainers = [ stdenv.lib.maintainers.kragniz ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, unzip, pkgconfig, libXpm, fltk13, freeimage }: { stdenv, fetchurl, cmake, unzip, pkg-config, libXpm, fltk13, freeimage }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "posterazor-1.5.1"; name = "posterazor-1.5.1";
@ -10,8 +10,8 @@ stdenv.mkDerivation {
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config unzip ];
buildInputs = [ cmake unzip libXpm fltk13 freeimage ]; buildInputs = [ libXpm fltk13 freeimage ];
unpackPhase = '' unpackPhase = ''
unzip $src -d posterazor unzip $src -d posterazor

View File

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1blzyh1646955d580f71slgdvz0nqx0qacryx0jc9w02yrag17cs"; sha256 = "1blzyh1646955d580f71slgdvz0nqx0qacryx0jc9w02yrag17cs";
}; };
buildInputs = [ cmake qt4 qscintilla ]; nativeBuildInputs = [ cmake ];
buildInputs = [ qt4 qscintilla ];
prePatch = '' prePatch = ''
sed -i 's,m_file(0),m_file(QString()),' Sqliteman/sqliteman/main.cpp sed -i 's,m_file(0),m_file(QString()),' Sqliteman/sqliteman/main.cpp

View File

@ -42,7 +42,6 @@ mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
cmake
exempi exempi
extra-cmake-modules extra-cmake-modules
karchive karchive

View File

@ -1,5 +1,4 @@
{ stdenv, fetchFromGitHub, cmake { stdenv, fetchFromGitHub, cmake, curl, pkg-config }:
, curl, pkgconfig }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "http-getter"; pname = "http-getter";
@ -12,7 +11,8 @@ stdenv.mkDerivation {
sha256 = "0plyqqwfm9bysichda0w3akbdxf6279wd4mx8mda0c4mxd4xy9nl"; sha256 = "0plyqqwfm9bysichda0w3akbdxf6279wd4mx8mda0c4mxd4xy9nl";
}; };
buildInputs = [ cmake pkgconfig curl ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ curl ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/tohojo/http-getter"; homepage = "https://github.com/tohojo/http-getter";

View File

@ -13,7 +13,8 @@ stdenv.mkDerivation {
sha256 = "02p57fgx8ml00cbrb4f280ak2802svz80836dzk9f1zwm1bcr2qc"; sha256 = "02p57fgx8ml00cbrb4f280ak2802svz80836dzk9f1zwm1bcr2qc";
}; };
buildInputs = [ pidgin cmake libxml2 ]; nativeBuildInputs = [ cmake ];
buildInputs = [ pidgin libxml2 ];
preConfigure = '' preConfigure = ''
sed -i -e 's|DESTINATION.*PURPLE_PLUGIN_DIR}|DESTINATION lib/purple-2|' CMakeLists.txt sed -i -e 's|DESTINATION.*PURPLE_PLUGIN_DIR}|DESTINATION lib/purple-2|' CMakeLists.txt

View File

@ -19,11 +19,8 @@ stdenv.mkDerivation {
inherit patches; inherit patches;
buildInputs = [ nativeBuildInputs = [ cmake ];
cmake buildInputs = [ asio openssl ];
asio
openssl
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "HTTP framework for building networked applications"; description = "HTTP framework for building networked applications";

View File

@ -54,8 +54,8 @@ in (if !buildClient then stdenv.mkDerivation else mkDerivation) rec {
# Prevent ``undefined reference to `qt_version_tag''' in SSL check # Prevent ``undefined reference to `qt_version_tag''' in SSL check
NIX_CFLAGS_COMPILE = "-DQT_NO_VERSION_TAGGING=1"; NIX_CFLAGS_COMPILE = "-DQT_NO_VERSION_TAGGING=1";
buildInputs = nativeBuildInputs = [ cmake makeWrapper ];
[ cmake makeWrapper qtbase ] buildInputs = [ qtbase ]
++ lib.optionals buildCore [qtscript qca-qt5] ++ lib.optionals buildCore [qtscript qca-qt5]
++ lib.optionals buildClient [libdbusmenu phonon] ++ lib.optionals buildClient [libdbusmenu phonon]
++ lib.optionals (buildClient && withKDE) [ ++ lib.optionals (buildClient && withKDE) [

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, lib { stdenv, fetchurl, lib
, ncurses, openssl, aspell, gnutls, gettext , ncurses, openssl, aspell, gnutls, gettext
, zlib, curl, pkgconfig, libgcrypt , zlib, curl, pkg-config, libgcrypt
, cmake, makeWrapper, libobjc, libresolv, libiconv , cmake, makeWrapper, libobjc, libresolv, libiconv
, asciidoctor # manpages , asciidoctor # manpages
, guileSupport ? true, guile , guileSupport ? true, guile
@ -37,7 +37,6 @@ let
outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins; outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins;
enableParallelBuilding = true;
cmakeFlags = with stdenv.lib; [ cmakeFlags = with stdenv.lib; [
"-DENABLE_MAN=ON" "-DENABLE_MAN=ON"
"-DENABLE_DOC=ON" "-DENABLE_DOC=ON"
@ -48,10 +47,10 @@ let
++ map (p: "-D${p.cmakeFlag}=" + (if p.enabled then "ON" else "OFF")) plugins ++ map (p: "-D${p.cmakeFlag}=" + (if p.enabled then "ON" else "OFF")) plugins
; ;
nativeBuildInputs = [ cmake pkg-config makeWrapper asciidoctor ];
buildInputs = with stdenv.lib; [ buildInputs = with stdenv.lib; [
ncurses openssl aspell gnutls gettext zlib curl pkgconfig ncurses openssl aspell gnutls gettext zlib curl
libgcrypt makeWrapper cmake asciidoctor libgcrypt ]
]
++ optionals stdenv.isDarwin [ libobjc libresolv ] ++ optionals stdenv.isDarwin [ libobjc libresolv ]
++ concatMap (p: p.buildInputs) enabledPlugins ++ concatMap (p: p.buildInputs) enabledPlugins
++ extraBuildInputs; ++ extraBuildInputs;

View File

@ -7,7 +7,8 @@ stdenv.mkDerivation {
sha256 = "0kmg1940yiqfm4vpifyj680283ids4nsij9s750nrshwxiwwbqvg"; sha256 = "0kmg1940yiqfm4vpifyj680283ids4nsij9s750nrshwxiwwbqvg";
}; };
buildInputs = [ qt4 cmake sqlite ]; nativeBuildInputs = [ cmake ];
buildInputs = [ qt4 sqlite ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A free, open-source Japanese dictionary and kanji lookup tool"; description = "A free, open-source Japanese dictionary and kanji lookup tool";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, boost, gnuradio { stdenv, fetchFromGitHub, cmake, pkg-config, boost, gnuradio
, makeWrapper, cppunit, gr-osmosdr, log4cpp , makeWrapper, cppunit, gr-osmosdr, log4cpp
, pythonSupport ? true, python, swig , pythonSupport ? true, python, swig
}: }:
@ -17,10 +17,9 @@ stdenv.mkDerivation {
sha256 = "1b9j0kc74cw12a7jv4lii77dgzqzg2s8ndzp4xmisxksgva1qfvh"; sha256 = "1b9j0kc74cw12a7jv4lii77dgzqzg2s8ndzp4xmisxksgva1qfvh";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake makeWrapper pkg-config ];
buildInputs = [ buildInputs = [ boost gnuradio cppunit gr-osmosdr log4cpp ]
cmake boost gnuradio makeWrapper cppunit gr-osmosdr log4cpp ++ stdenv.lib.optionals pythonSupport [ python swig ];
] ++ stdenv.lib.optionals pythonSupport [ python swig ];
postInstall = '' postInstall = ''
for prog in "$out"/bin/*; do for prog in "$out"/bin/*; do

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, boost, gnuradio, log4cpp { stdenv, fetchFromGitHub, cmake, pkg-config, boost, gnuradio, log4cpp
, makeWrapper, cppunit, libosmocore, gr-osmosdr , makeWrapper, cppunit, libosmocore, gr-osmosdr
, pythonSupport ? true, python, swig , pythonSupport ? true, python, swig
}: }:
@ -16,9 +16,9 @@ stdenv.mkDerivation {
sha256 = "13nnq927kpf91iqccr8db9ripy5czjl5jiyivizn6bia0bam2pvx"; sha256 = "13nnq927kpf91iqccr8db9ripy5czjl5jiyivizn6bia0bam2pvx";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ buildInputs = [
cmake boost gnuradio makeWrapper cppunit libosmocore gr-osmosdr log4cpp boost gnuradio makeWrapper cppunit libosmocore gr-osmosdr log4cpp
] ++ stdenv.lib.optionals pythonSupport [ python swig ]; ] ++ stdenv.lib.optionals pythonSupport [ python swig ];
postInstall = '' postInstall = ''

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, boost, gnuradio, uhd { stdenv, fetchFromGitHub, cmake, pkg-config, boost, gnuradio, uhd
, makeWrapper, libsodium, cppunit, log4cpp , makeWrapper, libsodium, cppunit, log4cpp
, pythonSupport ? true, python, swig , pythonSupport ? true, python, swig
}: }:
@ -16,9 +16,9 @@ stdenv.mkDerivation {
sha256 = "018np0qlk61l7mlv3xxx5cj1rax8f1vqrsrch3higsl25yydbv7v"; sha256 = "018np0qlk61l7mlv3xxx5cj1rax8f1vqrsrch3higsl25yydbv7v";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ buildInputs = [
cmake boost gnuradio uhd makeWrapper libsodium cppunit log4cpp boost gnuradio uhd makeWrapper libsodium cppunit log4cpp
] ++ stdenv.lib.optionals pythonSupport [ python swig ]; ] ++ stdenv.lib.optionals pythonSupport [ python swig ];
postInstall = '' postInstall = ''

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, cmake, pkgconfig, makeWrapper { stdenv, fetchgit, cmake, pkg-config, makeWrapper
, boost , boost
, pythonSupport ? true, python, swig , pythonSupport ? true, python, swig
, airspy , airspy
@ -23,10 +23,9 @@ stdenv.mkDerivation rec {
sha256 = "0bf9bnc1c3c4yqqqgmg3nhygj6rcfmyk6pybi27f7461d2cw1drv"; sha256 = "0bf9bnc1c3c4yqqqgmg3nhygj6rcfmyk6pybi27f7461d2cw1drv";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake makeWrapper pkg-config ];
buildInputs = [ buildInputs = [
cmake makeWrapper boost log4cpp boost log4cpp airspy gnuradio hackrf libbladeRF rtl-sdr uhd
airspy gnuradio hackrf libbladeRF rtl-sdr uhd
] ++ stdenv.lib.optionals stdenv.isLinux [ soapysdr-with-plugins ] ] ++ stdenv.lib.optionals stdenv.isLinux [ soapysdr-with-plugins ]
++ stdenv.lib.optionals pythonSupport [ python swig python.pkgs.cheetah ]; ++ stdenv.lib.optionals pythonSupport [ python swig python.pkgs.cheetah ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, boost, gnuradio, log4cpp { stdenv, fetchFromGitHub, cmake, pkg-config, boost, gnuradio, log4cpp
, makeWrapper, pythonSupport ? true, python, swig , makeWrapper, pythonSupport ? true, python, swig
}: }:
@ -15,9 +15,9 @@ stdenv.mkDerivation rec {
sha256 = "0jkzchvw0ivcxsjhi1h0mf7k13araxf5m4wi5v9xdgqxvipjzqfy"; sha256 = "0jkzchvw0ivcxsjhi1h0mf7k13araxf5m4wi5v9xdgqxvipjzqfy";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ buildInputs = [
cmake boost gnuradio makeWrapper log4cpp boost gnuradio makeWrapper log4cpp
] ++ stdenv.lib.optionals pythonSupport [ python swig ]; ] ++ stdenv.lib.optionals pythonSupport [ python swig ];
postInstall = '' postInstall = ''

View File

@ -9,9 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "00v4n8pvi5qi2psjnrw611w5gg5bdlaxbsny535fsci3smyygpc0"; sha256 = "00v4n8pvi5qi2psjnrw611w5gg5bdlaxbsny535fsci3smyygpc0";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ cmake makeWrapper ];
buildInputs = [ buildInputs = [
cmake
expat expat
openssl openssl
zlib zlib

View File

@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
fetchSubmodules = true; fetchSubmodules = true;
}; };
nativeBuildInputs = [ cmake makeWrapper ];
buildInputs = [ buildInputs = [
makeWrapper cmake
curl boost gdal glew soil curl boost gdal glew soil
libX11 libXi libXxf86vm libXcursor libXrandr libXinerama libX11 libXi libXxf86vm libXcursor libXrandr libXinerama
]; ];

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation {
sha256 = "1nmsga9m7vcc4y4a6zl53ra3mwlgjwdgsq1j291awkn7zr1az6qs"; sha256 = "1nmsga9m7vcc4y4a6zl53ra3mwlgjwdgsq1j291awkn7zr1az6qs";
}; };
buildInputs = [cmake]; nativeBuildInputs = [ cmake ];
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing"; NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing";

View File

@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
patches = [ ./somatic-sniper.patch ]; patches = [ ./somatic-sniper.patch ];
buildInputs = [ cmake zlib ncurses ]; nativeBuildInputs = [ cmake ];
buildInputs = [ zlib ncurses ];
enableParallelBuilding = false; enableParallelBuilding = false;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, qt4, cmake, graphviz, pkgconfig }: { stdenv, fetchurl, qt4, cmake, graphviz, pkg-config }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "qfsm-0.54.0"; name = "qfsm-0.54.0";
@ -8,8 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "0rl7bc5cr29ng67yij4akciyid9z7npal812ys4c3m229vjvflrb"; sha256 = "0rl7bc5cr29ng67yij4akciyid9z7npal812ys4c3m229vjvflrb";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ qt4 cmake graphviz ]; buildInputs = [ qt4 graphviz ];
patches = [ patches = [
./drop-hardcoded-prefix.patch ./drop-hardcoded-prefix.patch
@ -18,8 +18,6 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];
enableParallelBuilding = true;
meta = { meta = {
description = "Graphical editor for finite state machines"; description = "Graphical editor for finite state machines";
homepage = "http://qfsm.sourceforge.net/"; homepage = "http://qfsm.sourceforge.net/";

View File

@ -17,7 +17,8 @@ stdenv.mkDerivation rec {
./cmakelists.patch ./cmakelists.patch
]; ];
buildInputs = [ flex bison qt4 libX11 cmake gperf adms ]; nativeBuildInputs = [ cmake flex bison ];
buildInputs = [ qt4 libX11 gperf adms ];
meta = { meta = {
description = "Integrated circuit simulator"; description = "Integrated circuit simulator";

View File

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
fetchSubmodules = true; fetchSubmodules = true;
}; };
buildInputs = [ cmake zlib boost.out boost.dev ]; nativeBuildInputs = [ cmake ];
buildInputs = [ zlib boost.out boost.dev ];
NIX_CFLAGS_COMPILE = toString ([ "-Wno-narrowing" ] NIX_CFLAGS_COMPILE = toString ([ "-Wno-narrowing" ]
# Squelch endless stream of warnings on same few things # Squelch endless stream of warnings on same few things
++ stdenv.lib.optionals stdenv.cc.isClang [ ++ stdenv.lib.optionals stdenv.cc.isClang [

View File

@ -12,8 +12,8 @@ stdenv.mkDerivation {
sha256 = "1xv3j487zhh1zf2b4v19xzw63s2sgjhg8d62a0kxxyknfmdf3khl"; sha256 = "1xv3j487zhh1zf2b4v19xzw63s2sgjhg8d62a0kxxyknfmdf3khl";
}; };
buildInputs = [ gmp mpfr cmake python gperftools ninja makeWrapper ]; nativeBuildInputs = [ cmake makeWrapper ninja ];
enableParallelBuilding = true; buildInputs = [ gmp mpfr python gperftools ];
preConfigure = '' preConfigure = ''
patchShebangs bin/leantags patchShebangs bin/leantags

View File

@ -10,9 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "1c8h94ja7271ph61zrcgnjgblxppld6v22f7f900prjgzbcfy14m"; sha256 = "1c8h94ja7271ph61zrcgnjgblxppld6v22f7f900prjgzbcfy14m";
}; };
buildInputs = [ cmake libGLU libGL qt5.qtbase boost ]; nativeBuildInputs = [ cmake ];
buildInputs = [ libGLU libGL qt5.qtbase boost ];
enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A toolset for model-checking concurrent systems and protocols"; description = "A toolset for model-checking concurrent systems and protocols";

View File

@ -31,7 +31,8 @@ let
core = stdenv.mkDerivation { core = stdenv.mkDerivation {
name = "${pname}-${version}"; name = "${pname}-${version}";
inherit src patches; inherit src patches;
buildInputs = [ cmake zlib gmp jdk8 ]; nativeBuildInputs = [ cmake ];
buildInputs = [ zlib gmp jdk8 ];
cmakeFlags = [ cmakeFlags = [
"-DBUILD_STATIC=OFF" "-DBUILD_STATIC=OFF"

View File

@ -65,8 +65,9 @@ stdenv.mkDerivation rec {
CCACHE_DISABLE="1"; CCACHE_DISABLE="1";
CCACHE_DIR=".ccache"; CCACHE_DIR=".ccache";
nativeBuildInputs = [ cmake ];
buildInputs = with lib; [ buildInputs = with lib; [
blas lapack bzip2 cmake colpack curl ctags eigen hdf5 json_c lp_solve lzma lzo blas lapack bzip2 colpack curl ctags eigen hdf5 json_c lp_solve lzma lzo
protobuf nlopt snappy swig (libarchive.dev) libxml2 lapack glpk protobuf nlopt snappy swig (libarchive.dev) libxml2 lapack glpk
] ]
++ optionals (pythonSupport) (with pythonPackages; [ python ply numpy ]) ++ optionals (pythonSupport) (with pythonPackages; [ python ply numpy ])

View File

@ -10,8 +10,9 @@ stdenv.mkDerivation rec {
sha256 = "1jrcv498vpcs8xklhbsgg12yfa90f96p2mwq6x5sjnrlpf8mh50b"; sha256 = "1jrcv498vpcs8xklhbsgg12yfa90f96p2mwq6x5sjnrlpf8mh50b";
}; };
nativeBuildInputs = [ cmake ];
buildInputs = [ buildInputs = [
qt4 qwt6_qt4 libGLU libGL glew gdal cgal proj cmake python2 qt4 qwt6_qt4 libGLU libGL glew gdal cgal proj python2
doxygen graphviz gmp mpfr doxygen graphviz gmp mpfr
(boost.override { (boost.override {
enablePython = true; enablePython = true;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, cmake, pcre, pkgconfig, python2 { stdenv, fetchurl, fetchpatch, cmake, pcre, pkg-config, python2
, libX11, libXpm, libXft, libXext, libGLU, libGL, zlib, libxml2, lz4, lzma, gsl_1, xxHash , libX11, libXpm, libXft, libXext, libGLU, libGL, zlib, libxml2, lz4, lzma, gsl_1, xxHash
, Cocoa, OpenGL, noSplash ? false }: , Cocoa, OpenGL, noSplash ? false }:
@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1ln448lszw4d6jmbdphkr2plwxxlhmjkla48vmmq750xc1lxlfrc"; sha256 = "1ln448lszw4d6jmbdphkr2plwxxlhmjkla48vmmq750xc1lxlfrc";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ cmake pcre python2 zlib libxml2 lz4 lzma gsl_1 xxHash ] buildInputs = [ pcre python2 zlib libxml2 lz4 lzma gsl_1 xxHash ]
++ stdenv.lib.optionals (!stdenv.isDarwin) [ libX11 libXpm libXft libXext libGLU libGL ] ++ stdenv.lib.optionals (!stdenv.isDarwin) [ libX11 libXpm libXft libXext libGLU libGL ]
++ stdenv.lib.optionals (stdenv.isDarwin) [ Cocoa OpenGL ] ++ stdenv.lib.optionals (stdenv.isDarwin) [ Cocoa OpenGL ]
; ;

View File

@ -23,7 +23,8 @@ stdenv.mkDerivation {
ln -sv "${externals}" externals ln -sv "${externals}" externals
''; '';
buildInputs = [ cmake qt4 libGLU libGL ]; nativeBuildInputs = [ cmake ];
buildInputs = [ qt4 libGLU libGL ];
NIX_LDFLAGS = "-lGLU"; NIX_LDFLAGS = "-lGLU";

View File

@ -6,12 +6,8 @@ stdenv.mkDerivation {
inherit src meta; inherit src meta;
buildInputs = [ nativeBuildInputs = [ cmake flex bison ];
cmake buildInputs = [ glibc.static ];
glibc.static
flex
bison
];
patchPhase = '' patchPhase = ''
# Since we're not in a git dir, the normal command this project uses to create this file wouldn't work # Since we're not in a git dir, the normal command this project uses to create this file wouldn't work

View File

@ -11,9 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0mphh899niy30xbjjwi9xpsliq8mladfldbbbjfngdrqfhiray1a"; sha256 = "0mphh899niy30xbjjwi9xpsliq8mladfldbbbjfngdrqfhiray1a";
}; };
buildInputs = [ cmake ace ]; nativeBuildInputs = [ cmake ];
buildInputs = [ ace ];
enableParallelBuilding = true;
cmakeFlags = [ cmakeFlags = [
"-DYARP_COMPILE_UNMAINTAINED:BOOL=ON" "-DYARP_COMPILE_UNMAINTAINED:BOOL=ON"

View File

@ -13,8 +13,9 @@ rustPlatform.buildRustPackage rec {
sha256 = "06xkhlfix0h6di6cnvc4blbj3mjy90scbh89dvywbx16wjlc79pf"; sha256 = "06xkhlfix0h6di6cnvc4blbj3mjy90scbh89dvywbx16wjlc79pf";
}; };
buildInputs = [ cmake libzip gnupg ] ++ nativeBuildInputs = [ cmake ];
(if stdenv.isDarwin then [ libiconv CoreFoundation Security ] else []); buildInputs = [ libzip gnupg ]
++ (stdenv.lib.optionals stdenv.isDarwin [ libiconv CoreFoundation Security ]);
preCheck = '' preCheck = ''
export HOME=$(mktemp -d) export HOME=$(mktemp -d)

View File

@ -47,7 +47,8 @@ let self = rec {
sha256 = "1r3gs3c6zczmm66qcxh9mr306clwb3p7ykzb70r3jv5jqggiz199"; sha256 = "1r3gs3c6zczmm66qcxh9mr306clwb3p7ykzb70r3jv5jqggiz199";
}; };
buildInputs = [ cmake kodiPlain libcec_platform tinyxml ]; nativeBuildInputs = [ cmake ];
buildInputs = [ kodiPlain libcec_platform tinyxml ];
}; };
mkKodiPlugin = { plugin, namespace, version, sourceDir ? null, ... }@args: mkKodiPlugin = { plugin, namespace, version, sourceDir ? null, ... }@args:
@ -75,8 +76,8 @@ let self = rec {
dontStrip = true; dontStrip = true;
buildInputs = [ cmake kodiPlain kodi-platform libcec_platform ] nativeBuildInputs = [ cmake ];
++ extraBuildInputs; buildInputs = [ kodiPlain kodi-platform libcec_platform ] ++ extraBuildInputs;
inherit extraRuntimeDependencies; inherit extraRuntimeDependencies;

View File

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

View File

@ -2,14 +2,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "shared-desktop-ontologies-0.11.0"; name = "shared-desktop-ontologies-0.11.0";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/oscaf/${name}.tar.bz2"; url = "mirror://sourceforge/oscaf/${name}.tar.bz2";
sha256 = "1m5vnijg7rnwg41vig2ckg632dlczzdab1gsq51g4x7m9k1fdbw2"; sha256 = "1m5vnijg7rnwg41vig2ckg632dlczzdab1gsq51g4x7m9k1fdbw2";
}; };
buildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "http://oscaf.sourceforge.net/"; homepage = "http://oscaf.sourceforge.net/";
description = "Ontologies necessary for the Nepomuk semantic desktop"; description = "Ontologies necessary for the Nepomuk semantic desktop";
@ -23,4 +23,3 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.sander ]; maintainers = [ maintainers.sander ];
}; };
} }

View File

@ -1,18 +1,16 @@
{ stdenv { stdenv
, fetchFromGitHub , fetchFromGitHub
, cmake , cmake
, pkgconfig , pkg-config
, libffi , libffi
, llvm_6 , llvm_6
, doCheck ? false , doCheck ? false
, perl , perl
}: }:
let version = "20181024"; stdenv.mkDerivation {
in stdenv.mkDerivation {
pname = "dale"; pname = "dale";
inherit version; version = "20181024";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tomhrr"; owner = "tomhrr";
@ -21,16 +19,14 @@ in stdenv.mkDerivation {
sha256 = "0v4ajrzrqvf279kd7wsd9flrpsav57lzxlwwimk9vnfwh7xpzf9v"; sha256 = "0v4ajrzrqvf279kd7wsd9flrpsav57lzxlwwimk9vnfwh7xpzf9v";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ cmake libffi llvm_6 ] buildInputs = [ libffi llvm_6 ];
++ stdenv.lib.optional doCheck perl;
inherit doCheck; inherit doCheck;
checkInputs = [ perl ];
checkTarget = "tests"; checkTarget = "tests";
enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Lisp-flavoured C"; description = "Lisp-flavoured C";
longDescription = '' longDescription = ''

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, cmake, pkgconfig, boost, libunwind, libmemcached { stdenv, fetchgit, cmake, pkg-config, boost, libunwind, libmemcached
, pcre, libevent, gd, curl, libxml2, icu, flex, bison, openssl, zlib, php , pcre, libevent, gd, curl, libxml2, icu, flex, bison, openssl, zlib, php
, expat, libcap, oniguruma, libdwarf, libmcrypt, tbb, gperftools, glog, libkrb5 , expat, libcap, oniguruma, libdwarf, libmcrypt, tbb, gperftools, glog, libkrb5
, bzip2, openldap, readline, libelf, uwimap, binutils, cyrus_sasl, pam, libpng , bzip2, openldap, readline, libelf, uwimap, binutils, cyrus_sasl, pam, libpng
@ -18,9 +18,10 @@ stdenv.mkDerivation rec {
fetchSubmodules = true; fetchSubmodules = true;
}; };
nativeBuildInputs = [ cmake pkg-config flex bison ];
buildInputs = buildInputs =
[ cmake pkgconfig boost libunwind libmysqlclient libmemcached pcre gdb git perl [ boost libunwind libmysqlclient libmemcached pcre gdb git perl
libevent gd curl libxml2 icu flex bison openssl zlib php expat libcap libevent gd curl libxml2 icu openssl zlib php expat libcap
oniguruma libdwarf libmcrypt tbb gperftools bzip2 openldap readline oniguruma libdwarf libmcrypt tbb gperftools bzip2 openldap readline
libelf uwimap binutils cyrus_sasl pam glog libpng libxslt libkrb5 libelf uwimap binutils cyrus_sasl pam glog libpng libxslt libkrb5
gmp libyaml libedit libvpx imagemagick fribidi gperf which gmp libyaml libedit libvpx imagemagick fribidi gperf which
@ -31,7 +32,6 @@ stdenv.mkDerivation rec {
./flexible-array-members-gcc6.patch ./flexible-array-members-gcc6.patch
]; ];
enableParallelBuilding = true;
dontUseCmakeBuildDir = true; dontUseCmakeBuildDir = true;
NIX_LDFLAGS = "-lpam -L${pam}/lib"; NIX_LDFLAGS = "-lpam -L${pam}/lib";

View File

@ -1,4 +1,4 @@
{ 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 { 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
, gnumake42 , gnumake42
, enableParallelBuilding ? true , enableParallelBuilding ? true
, srcArchiveSuffix ? "tar.bz2" , srcArchiveSuffix ? "tar.bz2"
@ -17,9 +17,9 @@ stdenv.mkDerivation rec {
url = "https://download.mono-project.com/sources/mono/${pname}-${version}.${srcArchiveSuffix}"; url = "https://download.mono-project.com/sources/mono/${pname}-${version}.${srcArchiveSuffix}";
}; };
nativeBuildInputs = [ gnumake42 ]; nativeBuildInputs = [ automake bison cmake pkg-config which gnumake42 ];
buildInputs = buildInputs =
[ bison pkgconfig glib gettext perl libgdiplus libX11 ncurses zlib python3 autoconf libtool automake cmake which [ glib gettext perl libgdiplus libX11 ncurses zlib python3 autoconf libtool
] ]
++ (stdenv.lib.optionals stdenv.isDarwin [ Foundation libobjc ]); ++ (stdenv.lib.optionals stdenv.isDarwin [ Foundation libobjc ]);

View File

@ -24,7 +24,8 @@ stdenv.mkDerivation {
sha256 = "07wd1cs3fdvzb1lv41b655z5zk34f47j8fgd9ljjimi5j9pj71f7"; sha256 = "07wd1cs3fdvzb1lv41b655z5zk34f47j8fgd9ljjimi5j9pj71f7";
}; };
buildInputs = [ perl groff cmake libxml2 python2 libffi ] ++ lib.optional stdenv.isLinux valgrind; nativeBuildInputs = [ cmake ];
buildInputs = [ perl groff libxml2 python2 libffi ] ++ lib.optional stdenv.isLinux valgrind;
propagatedBuildInputs = [ ncurses zlib ]; propagatedBuildInputs = [ ncurses zlib ];

View File

@ -18,13 +18,13 @@ in clangStdenv.mkDerivation rec {
}; };
cmakeFlags = [ "-DUSE_BOOST_WAVE=ON" "-DENABLERTTI=ON" ]; cmakeFlags = [ "-DUSE_BOOST_WAVE=ON" "-DENABLERTTI=ON" ];
enableParallelBuilding = true;
preConfigure = '' patchShebangs src/liboslexec/serialize-bc.bash ''; preConfigure = '' patchShebangs src/liboslexec/serialize-bc.bash '';
nativeBuildInputs = [ cmake boost_static flex bison];
buildInputs = [ buildInputs = [
cmake zlib openexr openimageio llvm zlib openexr openimageio llvm
boost_static flex bison partio pugixml partio pugixml
util-linux # needed just for hexdump util-linux # needed just for hexdump
python # CMake doesn't check this? python # CMake doesn't check this?
]; ];

View File

@ -29,7 +29,8 @@ stdenv.mkDerivation (rec {
name = "v1.5.0.tar.gz"; name = "v1.5.0.tar.gz";
}; };
buildInputs = [ makeWrapper which libxml2 cmake z3 ]; nativeBuildInputs = [ cmake makeWrapper which ];
buildInputs = [ libxml2 z3 ];
propagatedBuildInputs = [ cc ]; propagatedBuildInputs = [ cc ];
# Sandbox disallows network access, so disabling problematic networking tests # Sandbox disallows network access, so disabling problematic networking tests

View File

@ -12,7 +12,8 @@ stdenv.mkDerivation {
sha256 = "0a44k56jf6dl36fwgg4zpc252wq5lf9cblg74mp73k82hxw439l4"; sha256 = "0a44k56jf6dl36fwgg4zpc252wq5lf9cblg74mp73k82hxw439l4";
}; };
buildInputs = [ cmake libGLU libpng zlib qt4 pythonPackages.pyqt4 bison flex ]; nativeBuildInputs = [ cmake ];
buildInputs = [ libGLU libpng zlib qt4 pythonPackages.pyqt4 bison flex ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Embeddable expression evaluation engine from Disney Animation"; description = "Embeddable expression evaluation engine from Disney Animation";
homepage = "https://www.disneyanimation.com/technology/seexpr.html"; homepage = "https://www.disneyanimation.com/technology/seexpr.html";

View File

@ -14,7 +14,8 @@ let
# set this to nonempty string to disable default cmake configure # set this to nonempty string to disable default cmake configure
''; '';
buildInputs = [ cmake clang python ]; nativeBuildInputs = [ cmake ];
buildInputs = [ clang python ];
buildPhase = "make clang-debug-no-tests"; buildPhase = "make clang-debug-no-tests";

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation {
sha256 = "0v4yfiwfd08hmh2ydgy6pnmlzjbd96k78dsla9pfd56ka89aw74r"; sha256 = "0v4yfiwfd08hmh2ydgy6pnmlzjbd96k78dsla9pfd56ka89aw74r";
}; };
buildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
maintainers = with maintainers; [ matthewbauer ]; maintainers = with maintainers; [ matthewbauer ];

View File

@ -10,8 +10,8 @@ stdenv.mkDerivation {
sha256 = "10jn6bvm9vn6492zix2pd724v5h4lccmkqg3lxfw8r0qg3av0yzv"; sha256 = "10jn6bvm9vn6492zix2pd724v5h4lccmkqg3lxfw8r0qg3av0yzv";
}; };
buildInputs = [ cmake boost NSPlist pugixml ]; nativeBuildInputs = [ cmake ];
buildInputs = [ boost NSPlist pugixml ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
maintainers = with maintainers; [ matthewbauer ]; maintainers = with maintainers; [ matthewbauer ];

View File

@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "0w8gsyqki21s1qb2s5ac1kj08i6nc937c0rr08xbw9w9wvd6lpj6"; sha256 = "0w8gsyqki21s1qb2s5ac1kj08i6nc937c0rr08xbw9w9wvd6lpj6";
}; };
buildInputs = [ cmake openal ]; nativeBuildInputs = [ cmake ];
buildInputs = [ openal ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A utility library to help manage common tasks with OpenAL applications"; description = "A utility library to help manage common tasks with OpenAL applications";

View File

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "00vxzfcrs856qnyk806wqr67nmpjk06mjby0fqmyhm6i1jj2hg1w"; sha256 = "00vxzfcrs856qnyk806wqr67nmpjk06mjby0fqmyhm6i1jj2hg1w";
}; };
buildInputs = [ cmake boost zlib ]; nativeBuildInputs = [ cmake ];
buildInputs = [ boost zlib ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A library to import various 3D model formats"; description = "A library to import various 3D model formats";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, alsaLib, portaudio, portmidi, libsndfile, cmake, libxml2 }: { stdenv, fetchFromGitHub, pkg-config, alsaLib, portaudio, portmidi, libsndfile, cmake, libxml2 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.0-beta.1"; version = "1.0-beta.1";
@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1hb9b6qc18rsvzvixgllknn756m6zwcn22c79rdibbyz1bhrcnln"; sha256 = "1hb9b6qc18rsvzvixgllknn756m6zwcn22c79rdibbyz1bhrcnln";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ alsaLib portaudio portmidi libsndfile cmake libxml2 ]; buildInputs = [ alsaLib portaudio portmidi libsndfile libxml2 ];
meta = { meta = {
description = "A C++ platform for building dynamic and reflexive systems with an emphasis on audio and media"; description = "A C++ platform for building dynamic and reflexive systems with an emphasis on audio and media";

View File

@ -20,9 +20,7 @@ in stdenv.mkDerivation {
sha256 = "100ahb4n4pvgcry9xzlf2fr4j57n5h9x7pvyhhxys4dcy8axqqsy"; sha256 = "100ahb4n4pvgcry9xzlf2fr4j57n5h9x7pvyhhxys4dcy8axqqsy";
}; };
buildInputs = [ cmake ]; nativeBuildInputs = [ cmake removeReferencesTo ];
nativeBuildInputs = [ removeReferencesTo ];
# It used to reference it, in the past, but thanks to the postFixup hook, now # It used to reference it, in the past, but thanks to the postFixup hook, now
# it doesn't. # it doesn't.

View File

@ -11,11 +11,8 @@ stdenv.mkDerivation {
sha256 = "1ars58bfw83s8f1iqbhnqp4n9wc9cxsph0gs2a8k7r9fi09vja2k"; sha256 = "1ars58bfw83s8f1iqbhnqp4n9wc9cxsph0gs2a8k7r9fi09vja2k";
}; };
buildInputs = [ nativeBuildInputs = [ cmake ];
cmake buildInputs = [ python2 boost ];
python2
boost
];
preConfigure = '' preConfigure = ''
substituteInPlace test/SchemaTests.cc --replace "BOOST_CHECKPOINT" "BOOST_TEST_CHECKPOINT" substituteInPlace test/SchemaTests.cc --replace "BOOST_CHECKPOINT" "BOOST_TEST_CHECKPOINT"

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, unzip, cmake, libGLU, libGL, freeglut, libX11, xorgproto { stdenv, fetchurl, unzip, cmake, libGLU, libGL, freeglut, libX11, xorgproto
, libXi, pkgconfig }: , libXi, pkg-config }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "box2d"; pname = "box2d";
@ -12,10 +12,8 @@ stdenv.mkDerivation rec {
sourceRoot = "Box2D-${version}/Box2D"; sourceRoot = "Box2D-${version}/Box2D";
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake unzip pkg-config ];
buildInputs = [ buildInputs = [ libGLU libGL freeglut libX11 xorgproto libXi ];
unzip cmake libGLU libGL freeglut libX11 xorgproto libXi
];
cmakeFlags = [ cmakeFlags = [
"-DBOX2D_INSTALL=ON" "-DBOX2D_INSTALL=ON"

View File

@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "067562s71kfsnbp2zb2bmq8zj3jk96g5a4rcc5qc3n8nfyayhldk"; sha256 = "067562s71kfsnbp2zb2bmq8zj3jk96g5a4rcc5qc3n8nfyayhldk";
}; };
nativeBuildInputs = [ cmake ];
buildInputs = [ cmake ogre freetype boost expat ]; buildInputs = [ ogre freetype boost expat ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "http://cegui.org.uk/"; homepage = "http://cegui.org.uk/";

View File

@ -11,7 +11,8 @@ stdenv.mkDerivation {
sha256 = "1z6gbd7npg4pd9wmdyzcp9h12sg84d7a43c69pp4lzqkyqg8pz1g"; sha256 = "1z6gbd7npg4pd9wmdyzcp9h12sg84d7a43c69pp4lzqkyqg8pz1g";
}; };
buildInputs = [ cmake curl ]; nativeBuildInputs = [ cmake ];
buildInputs = [ curl ];
propagatedBuildInputs = [ nlohmann_json ]; propagatedBuildInputs = [ nlohmann_json ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -12,14 +12,13 @@ stdenv.mkDerivation rec {
fetchSubmodules = true; fetchSubmodules = true;
}; };
buildInputs = [ cmake boost openssl ]; nativeBuildInputs = [ cmake ];
buildInputs = [ boost openssl ];
cmakeFlags = [ cmakeFlags = [
"-DCPP-NETLIB_BUILD_SHARED_LIBS=ON" "-DCPP-NETLIB_BUILD_SHARED_LIBS=ON"
]; ];
enableParallelBuilding = true;
# The test driver binary lacks an RPath to the library's libs # The test driver binary lacks an RPath to the library's libs
preCheck = '' preCheck = ''
export LD_LIBRARY_PATH=$PWD/libs/network/src export LD_LIBRARY_PATH=$PWD/libs/network/src

View File

@ -9,9 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "0lmcdjzicmzhnr8pa0q3f5lgapz2cnh9w0dr56i4kj890iqwgzhh"; sha256 = "0lmcdjzicmzhnr8pa0q3f5lgapz2cnh9w0dr56i4kj890iqwgzhh";
}; };
enableParallelBuilding = true; nativeBuildInputs = [ cmake ];
buildInputs = [ pcre zlib python openssl ];
buildInputs = [ cmake pcre zlib python openssl ];
cmakeFlags = [ cmakeFlags = [
"--no-warn-unused-cli" "--no-warn-unused-cli"

View File

@ -9,9 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "0blr1casmxickic84dxzfmn3lm7wrsl4aa2abvpq93rdfddfy3nn"; sha256 = "0blr1casmxickic84dxzfmn3lm7wrsl4aa2abvpq93rdfddfy3nn";
}; };
enableParallelBuilding = true; nativeBuildInputs = [ cmake ];
buildInputs = [ sqlite libmysqlclient postgresql unixODBC ];
buildInputs = [ cmake sqlite libmysqlclient postgresql unixODBC ];
cmakeFlags = [ "--no-warn-unused-cli" ]; cmakeFlags = [ "--no-warn-unused-cli" ];
NIX_CFLAGS_COMPILE = "-I${libmysqlclient}/include/mysql -L${libmysqlclient}/lib/mysql"; NIX_CFLAGS_COMPILE = "-I${libmysqlclient}/include/mysql -L${libmysqlclient}/lib/mysql";

View File

@ -13,7 +13,8 @@ stdenv.mkDerivation {
rev = version; rev = version;
sha256 = "071magxif5nrdddzk2z34czqmz1dfws4d7dqynb2zpn7cwhwxcpm"; sha256 = "071magxif5nrdddzk2z34czqmz1dfws4d7dqynb2zpn7cwhwxcpm";
}; };
buildInputs = [ cmake sfml ]; nativeBuildInputs = [ cmake ];
buildInputs = [ sfml ];
cmakeFlags = [ "-DCMAKE_MODULE_PATH=${sfml}/share/SFML/cmake/Modules/" ]; cmakeFlags = [ "-DCMAKE_MODULE_PATH=${sfml}/share/SFML/cmake/Modules/" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1z22zfw9lb86z4hcan9hlvji49c9b7vznh7gjm95gnvsh43zsgx8"; sha256 = "1z22zfw9lb86z4hcan9hlvji49c9b7vznh7gjm95gnvsh43zsgx8";
}; };
buildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
patchPhase = '' patchPhase = ''
# include <unistd.h> to fix undefined getcwd # include <unistd.h> to fix undefined getcwd

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, curl }: { stdenv, fetchFromGitHub, cmake, curl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "curlcpp"; pname = "curlcpp";
@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1zx76jcddqk4zkcdb6p7rsmkjbbjm2cj6drj0c8hdd61ms1d0f3n"; sha256 = "1zx76jcddqk4zkcdb6p7rsmkjbbjm2cj6drj0c8hdd61ms1d0f3n";
}; };
buildInputs = [ cmake curl ]; nativeBuildInputs = [ cmake ];
buildInputs = [ curl ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://josephp91.github.io/curlcpp/"; homepage = "https://josephp91.github.io/curlcpp/";
@ -21,4 +22,3 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ rszibele ]; maintainers = with maintainers; [ rszibele ];
}; };
} }

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, ispc, tbb, glfw, { stdenv, fetchFromGitHub, cmake, pkg-config, ispc, tbb, glfw,
openimageio, libjpeg, libpng, libpthreadstubs, libX11 openimageio, libjpeg, libpng, libpthreadstubs, libX11
}: }:
@ -14,11 +14,11 @@ stdenv.mkDerivation {
}; };
cmakeFlags = [ "-DEMBREE_TUTORIALS=OFF" ]; cmakeFlags = [ "-DEMBREE_TUTORIALS=OFF" ];
enableParallelBuilding = true;
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ pkgconfig cmake ispc tbb glfw openimageio libjpeg libpng libX11 libpthreadstubs ]; buildInputs = [ ispc tbb glfw openimageio libjpeg libpng libX11 libpthreadstubs ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "High performance ray tracing kernels from Intel"; description = "High performance ray tracing kernels from Intel";
homepage = "https://embree.github.io/"; homepage = "https://embree.github.io/";
maintainers = with maintainers; [ hodapp ]; maintainers = with maintainers; [ hodapp ];
license = licenses.asl20; license = licenses.asl20;

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation {
}) })
]; ];
buildInputs = [ unzip cmake python ]; nativeBuildInputs = [ unzip cmake python ];
meta = { meta = {
homepage = "http://people.cs.ubc.ca/~mariusm/flann/"; homepage = "http://people.cs.ubc.ca/~mariusm/flann/";

View File

@ -12,7 +12,8 @@ in stdenv.mkDerivation {
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
buildInputs = [ libXi libXrandr libXxf86vm libGL libGLU xlibsWrapper cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ libXi libXrandr libXxf86vm libGL libGLU xlibsWrapper ];
cmakeFlags = stdenv.lib.optionals stdenv.isDarwin [ cmakeFlags = stdenv.lib.optionals stdenv.isDarwin [
"-DOPENGL_INCLUDE_DIR=${libGL}/include" "-DOPENGL_INCLUDE_DIR=${libGL}/include"

View File

@ -28,8 +28,8 @@ stdenv.mkDerivation rec {
cd ../build cd ../build
''; '';
enableParallelBuilding = true; nativeBuildInputs = [ cmake ];
buildInputs = [ cmake vtk_7 ] buildInputs = [ vtk_7 ]
++ stdenv.lib.optional stdenv.isDarwin [ ++ stdenv.lib.optional stdenv.isDarwin [
darwin.apple_sdk.frameworks.ApplicationServices darwin.apple_sdk.frameworks.ApplicationServices
darwin.apple_sdk.frameworks.Cocoa darwin.apple_sdk.frameworks.Cocoa

View File

@ -1,4 +1,5 @@
{ stdenv, fetchFromGitHub, cmake, libGLU, xlibsWrapper }: { stdenv, fetchFromGitHub, cmake, libGLU, xlibsWrapper }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "glbinding"; pname = "glbinding";
version = "3.1.0"; version = "3.1.0";
@ -10,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1avd7ssms11xx7h0cm8h4pfpk55f07f1j1ybykxfgsym2chb2z08"; sha256 = "1avd7ssms11xx7h0cm8h4pfpk55f07f1j1ybykxfgsym2chb2z08";
}; };
buildInputs = [ cmake libGLU xlibsWrapper ]; nativeBuildInputs = [ cmake ];
buildInputs = [ libGLU xlibsWrapper ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/cginternals/glbinding/"; homepage = "https://github.com/cginternals/glbinding/";

View File

@ -1,4 +1,4 @@
{ stdenv, clang-tools, grpc, curl, cmake, pkgconfig, fetchFromGitHub, doxygen, protobuf, crc32c, c-ares, fetchurl, openssl, zlib }: { stdenv, clang-tools, grpc, curl, cmake, pkg-config, fetchFromGitHub, doxygen, protobuf, crc32c, c-ares, fetchurl, openssl, zlib }:
let let
googleapis = fetchFromGitHub { googleapis = fetchFromGitHub {
owner = "googleapis"; owner = "googleapis";
@ -16,7 +16,7 @@ let
sha256 = "02zkcq2wl831ayd9qy009xvfx7q80pgycx7mzz9vknwd0nn6dd0n"; sha256 = "02zkcq2wl831ayd9qy009xvfx7q80pgycx7mzz9vknwd0nn6dd0n";
}; };
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ c-ares c-ares.cmake-config grpc openssl protobuf zlib ]; buildInputs = [ c-ares c-ares.cmake-config grpc openssl protobuf zlib ];
postPatch = '' postPatch = ''
@ -40,7 +40,7 @@ in stdenv.mkDerivation rec {
}; };
buildInputs = [ curl crc32c c-ares c-ares.cmake-config googleapis-cpp-cmakefiles grpc protobuf ]; buildInputs = [ curl crc32c c-ares c-ares.cmake-config googleapis-cpp-cmakefiles grpc protobuf ];
nativeBuildInputs = [ clang-tools cmake pkgconfig doxygen ]; nativeBuildInputs = [ clang-tools cmake pkg-config doxygen ];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];

View File

@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
sha256 = "1b501xbimizmbmysl1j5zgnp48qw0r2r7lhgmxvzhzlv9jzhj60r"; sha256 = "1b501xbimizmbmysl1j5zgnp48qw0r2r7lhgmxvzhzlv9jzhj60r";
}; };
buildInputs = [ cmake qt4 ]; nativeBuildInputs = [ cmake ];
buildInputs = [ qt4 ];
meta = { meta = {
description = "Qt4 port of Django template system"; description = "Qt4 port of Django template system";

View File

@ -23,9 +23,8 @@ stdenv.mkDerivation rec {
substituteInPlace "src/grib_jasper_encoding.c" --replace "image.inmem_ = 1;" "" substituteInPlace "src/grib_jasper_encoding.c" --replace "image.inmem_ = 1;" ""
''; '';
buildInputs = [ cmake nativeBuildInputs = [ cmake gfortran ];
netcdf buildInputs = [ netcdf
gfortran
libpng libpng
openjpeg openjpeg
] ++ stdenv.lib.optionals enablePython [ ] ++ stdenv.lib.optionals enablePython [
@ -42,8 +41,6 @@ stdenv.mkDerivation rec {
"-DOPENJPEG_INCLUDE_DIR=${openjpeg.dev}/include/${openjpeg.incDir}" "-DOPENJPEG_INCLUDE_DIR=${openjpeg.dev}/include/${openjpeg.incDir}"
]; ];
enableParallelBuilding = true;
doCheck = true; doCheck = true;
# Only do tests that don't require downloading 120MB of testdata # Only do tests that don't require downloading 120MB of testdata

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, c-ares, pkgconfig, openssl, protobuf { stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, c-ares, pkg-config, openssl, protobuf
, gflags, abseil-cpp, libnsl , gflags, abseil-cpp, libnsl
}: }:
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
}) })
]; ];
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ zlib c-ares c-ares.cmake-config openssl protobuf gflags abseil-cpp ] buildInputs = [ zlib c-ares c-ares.cmake-config openssl protobuf gflags abseil-cpp ]
++ stdenv.lib.optionals stdenv.isLinux [ libnsl ]; ++ stdenv.lib.optionals stdenv.isLinux [ libnsl ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, boost, cmake, hwloc, gperftools, pkgconfig, python }: { stdenv, fetchFromGitHub, boost, cmake, hwloc, gperftools, pkg-config, python }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "hpx"; pname = "hpx";
@ -12,9 +12,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ boost hwloc gperftools ]; buildInputs = [ boost hwloc gperftools ];
nativeBuildInputs = [ cmake pkgconfig python ]; nativeBuildInputs = [ cmake pkg-config python ];
enableParallelBuilding = true;
meta = { meta = {
description = "C++ standard library for concurrency and parallelism"; description = "C++ standard library for concurrency and parallelism";

View File

@ -4,13 +4,12 @@ stdenv.mkDerivation rec {
name = "libLAS-1.8.1"; name = "libLAS-1.8.1";
src = fetchurl { src = fetchurl {
url = "https://download.osgeo.org/liblas/${name}.tar.bz2"; url = "https://download.osgeo.org/liblas/${name}.tar.bz2";
sha256 = "0xjfxb3ydvr2258ji3spzyf81g9caap19ql2pk91wiivqsc4mnws"; sha256 = "0xjfxb3ydvr2258ji3spzyf81g9caap19ql2pk91wiivqsc4mnws";
}; };
nativeBuildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; nativeBuildInputs = [ cmake ] ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
buildInputs = [ boost cmake gdal libgeotiff libtiff LASzip2 ]; buildInputs = [ boost gdal libgeotiff libtiff LASzip2 ];
cmakeFlags = [ cmakeFlags = [
"-DGDAL_CONFIG=${gdal}/bin/gdal-config" "-DGDAL_CONFIG=${gdal}/bin/gdal-config"

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, pkgconfig, cmake, git, doxygen, help2man, ncurses, tecla { stdenv, lib, fetchFromGitHub, pkg-config, cmake, git, doxygen, help2man, ncurses, tecla
, libusb1, udev }: , libusb1, udev }:
let let
@ -23,9 +23,9 @@ in stdenv.mkDerivation {
sha256 = "0g89al4kwfbx1l3zjddgb9ay4mhr7zk0ndchca3sm1vq2j47nf4l"; sha256 = "0g89al4kwfbx1l3zjddgb9ay4mhr7zk0ndchca3sm1vq2j47nf4l";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config git doxygen help2man ];
# ncurses used due to https://github.com/Nuand/bladeRF/blob/ab4fc672c8bab4f8be34e8917d3f241b1d52d0b8/host/utilities/bladeRF-cli/CMakeLists.txt#L208 # ncurses used due to https://github.com/Nuand/bladeRF/blob/ab4fc672c8bab4f8be34e8917d3f241b1d52d0b8/host/utilities/bladeRF-cli/CMakeLists.txt#L208
buildInputs = [ cmake git doxygen help2man tecla libusb1 ] buildInputs = [ tecla libusb1 ]
++ lib.optionals stdenv.isLinux [ udev ] ++ lib.optionals stdenv.isLinux [ udev ]
++ lib.optionals stdenv.isDarwin [ ncurses ]; ++ lib.optionals stdenv.isDarwin [ ncurses ];

View File

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0p4f0brhcz9gfxfd6114fa5x6swfdmgzv350xwncdr0s1qnamk8c"; sha256 = "0p4f0brhcz9gfxfd6114fa5x6swfdmgzv350xwncdr0s1qnamk8c";
}; };
buildInputs = [ cmake qt4 ]; nativeBuildInputs = [ cmake ];
buildInputs = [ qt4 ];
meta = { meta = {
platforms = stdenv.lib.platforms.unix; platforms = stdenv.lib.platforms.unix;

View File

@ -26,7 +26,7 @@ stdenv.mkDerivation {
"-Wno-error=deprecated-copy" "-Wno-error=deprecated-copy"
]; ];
buildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
outputDoc = "dev"; outputDoc = "dev";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, speexdsp, pkgconfig }: { stdenv, fetchFromGitHub, cmake, speexdsp, pkg-config }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.2.4"; version = "1.2.4";
@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0n81rnm8dm1zmibkr2v3q79rsd609y0dbbsrbay18njcjva88p0g"; sha256 = "0n81rnm8dm1zmibkr2v3q79rsd609y0dbbsrbay18njcjva88p0g";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ cmake speexdsp ]; buildInputs = [ speexdsp ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Implementation of the EBU R128 loudness standard"; description = "Implementation of the EBU R128 loudness standard";

View File

@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
patches = [ ./no-warnings-as-errors.patch ]; patches = [ ./no-warnings-as-errors.patch ];
buildInputs = [ cmake libav SDL2 chromaprint libebur128 ]; nativeBuildInputs = [ cmake ];
buildInputs = [ libav SDL2 chromaprint libebur128 ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Streaming audio processing library"; description = "Streaming audio processing library";

View File

@ -8,7 +8,8 @@ stdenv.mkDerivation {
sha256 = "15s9hswnl3qqi7yh29jyrg0hma2n99haxznvcywmsp8kjqlyg75q"; sha256 = "15s9hswnl3qqi7yh29jyrg0hma2n99haxznvcywmsp8kjqlyg75q";
}; };
buildInputs = [ zlib libpng cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ zlib libpng ];
meta = { meta = {
description = "Cross platform, open source library for generating PDF files"; description = "Cross platform, open source library for generating PDF files";

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