Merge pull request #166501 from siraben/cmake-treewide

This commit is contained in:
Ben Siraphob 2022-03-31 12:42:59 -05:00 committed by GitHub
commit 6ad8b0bf32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 17 additions and 12 deletions

View file

@ -54,9 +54,9 @@ in
mkDerivation rec {
inherit pname version src;
nativeBuildInputs = [ cmake ];
buildInputs = [
bash
cmake
pkg-config
qtbase
qwt

View file

@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
sha256 = "0xp6ijnrggskjrvscp204bmdpz48l5a8nxr9abp17wni6akb5wiq";
};
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
nativeBuildInputs = [ pkg-config wrapGAppsHook cmake ];
buildInputs = [
dbus
openssl
@ -38,7 +38,6 @@ stdenv.mkDerivation rec {
libepoxy
boost
libXdmcp
cmake
aspell
libgit2
libxkbcommon

View file

@ -173,9 +173,9 @@ self: super: {
});
cpsm = super.cpsm.overrideAttrs (old: {
nativeBuildInputs = [ cmake ];
buildInputs = [
python3
cmake
boost
icu
ncurses

View file

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

View file

@ -18,9 +18,10 @@ stdenv.mkDerivation rec {
sha256 = "sha256-JdnzEW+qAhAljR+WfmgE3P9xeR2HvjS64tFgCC0tNA0=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
texinfo libXext xorgproto libX11 libXpm libXt libXcursor
alsa-lib cmake zlib libpng libvorbis libXxf86dga libXxf86misc
alsa-lib zlib libpng libvorbis libXxf86dga libXxf86misc
libXxf86vm openal libGLU libGL
libjpeg flac
libXi libXfixes

View file

@ -17,9 +17,10 @@ stdenv.mkDerivation rec {
./encoding.patch
];
nativeBuildInputs = [ cmake ];
buildInputs = [
texinfo6_5 libXext xorgproto libX11 libXpm libXt libXcursor
alsa-lib cmake zlib libpng libvorbis libXxf86dga libXxf86misc
alsa-lib zlib libpng libvorbis libXxf86dga libXxf86misc
libXxf86vm openal libGLU libGL
];

View file

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256:0q1204qk97i9h14vxxq7phcfpyiin0i1zzk74ixvg4wqy87b62s8";
};
buildInputs = [ xercesc getopt cmake ];
nativeBuildInputs = [ cmake ];
buildInputs = [ xercesc getopt ];
meta = {
homepage = "https://xalan.apache.org/";

View file

@ -17,7 +17,8 @@ stdenv.mkDerivation rec {
};
enableParallelBuilding = true;
buildInputs = [ cmake rocm-cmake rocm-runtime ];
nativeBuildInputs = [ cmake ];
buildInputs = [ rocm-cmake rocm-runtime ];
cmakeFlags = [
"-DROCM_DIR=${rocm-runtime}"
"-DROCRTST_BLD_TYPE=Release"

View file

@ -12,9 +12,9 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];
buildInputs = [
SDL2
cmake
makeWrapper
];

View file

@ -33,10 +33,10 @@ stdenv.mkDerivation rec {
})
];
nativeBuildInputs = [ cmake ];
buildInputs = [
SDL2
SDL2_mixer
cmake
makeWrapper
Cocoa
];

View file

@ -13,8 +13,9 @@ mkDerivation rec {
postPatch = "sed '1i#include <vector>' -i src/model/World.h";
nativeBuildInputs = [ cmake ];
buildInputs = [
qt5.qtbase qt5.qtsvg qt5.qttranslations box2d which cmake
qt5.qtbase qt5.qtsvg qt5.qttranslations box2d which
gettext
];