treewide: cmake buildInputs to nativeBuildInputs, minor cleanups
This commit is contained in:
@@ -1,18 +1,16 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkgconfig
|
||||
, pkg-config
|
||||
, libffi
|
||||
, llvm_6
|
||||
, doCheck ? false
|
||||
, perl
|
||||
}:
|
||||
|
||||
let version = "20181024";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
stdenv.mkDerivation {
|
||||
pname = "dale";
|
||||
inherit version;
|
||||
version = "20181024";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tomhrr";
|
||||
@@ -21,16 +19,14 @@ in stdenv.mkDerivation {
|
||||
sha256 = "0v4ajrzrqvf279kd7wsd9flrpsav57lzxlwwimk9vnfwh7xpzf9v";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ cmake libffi llvm_6 ]
|
||||
++ stdenv.lib.optional doCheck perl;
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ libffi llvm_6 ];
|
||||
|
||||
inherit doCheck;
|
||||
checkInputs = [ perl ];
|
||||
|
||||
checkTarget = "tests";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Lisp-flavoured C";
|
||||
longDescription = ''
|
||||
|
||||
@@ -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
|
||||
, expat, libcap, oniguruma, libdwarf, libmcrypt, tbb, gperftools, glog, libkrb5
|
||||
, bzip2, openldap, readline, libelf, uwimap, binutils, cyrus_sasl, pam, libpng
|
||||
@@ -18,9 +18,10 @@ stdenv.mkDerivation rec {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config flex bison ];
|
||||
buildInputs =
|
||||
[ cmake pkgconfig boost libunwind libmysqlclient libmemcached pcre gdb git perl
|
||||
libevent gd curl libxml2 icu flex bison openssl zlib php expat libcap
|
||||
[ boost libunwind libmysqlclient libmemcached pcre gdb git perl
|
||||
libevent gd curl libxml2 icu openssl zlib php expat libcap
|
||||
oniguruma libdwarf libmcrypt tbb gperftools bzip2 openldap readline
|
||||
libelf uwimap binutils cyrus_sasl pam glog libpng libxslt libkrb5
|
||||
gmp libyaml libedit libvpx imagemagick fribidi gperf which
|
||||
@@ -31,7 +32,6 @@ stdenv.mkDerivation rec {
|
||||
./flexible-array-members-gcc6.patch
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
dontUseCmakeBuildDir = true;
|
||||
NIX_LDFLAGS = "-lpam -L${pam}/lib";
|
||||
|
||||
|
||||
@@ -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
|
||||
, enableParallelBuilding ? true
|
||||
, srcArchiveSuffix ? "tar.bz2"
|
||||
@@ -17,9 +17,9 @@ stdenv.mkDerivation rec {
|
||||
url = "https://download.mono-project.com/sources/mono/${pname}-${version}.${srcArchiveSuffix}";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gnumake42 ];
|
||||
nativeBuildInputs = [ automake bison cmake pkg-config which gnumake42 ];
|
||||
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 ]);
|
||||
|
||||
|
||||
@@ -24,7 +24,8 @@ stdenv.mkDerivation {
|
||||
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 ];
|
||||
|
||||
|
||||
@@ -18,13 +18,13 @@ in clangStdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
cmakeFlags = [ "-DUSE_BOOST_WAVE=ON" "-DENABLERTTI=ON" ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preConfigure = '' patchShebangs src/liboslexec/serialize-bc.bash '';
|
||||
|
||||
|
||||
nativeBuildInputs = [ cmake boost_static flex bison];
|
||||
buildInputs = [
|
||||
cmake zlib openexr openimageio llvm
|
||||
boost_static flex bison partio pugixml
|
||||
zlib openexr openimageio llvm
|
||||
partio pugixml
|
||||
util-linux # needed just for hexdump
|
||||
python # CMake doesn't check this?
|
||||
];
|
||||
|
||||
@@ -29,7 +29,8 @@ stdenv.mkDerivation (rec {
|
||||
name = "v1.5.0.tar.gz";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper which libxml2 cmake z3 ];
|
||||
nativeBuildInputs = [ cmake makeWrapper which ];
|
||||
buildInputs = [ libxml2 z3 ];
|
||||
propagatedBuildInputs = [ cc ];
|
||||
|
||||
# Sandbox disallows network access, so disabling problematic networking tests
|
||||
|
||||
@@ -12,7 +12,8 @@ stdenv.mkDerivation {
|
||||
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; {
|
||||
description = "Embeddable expression evaluation engine from Disney Animation";
|
||||
homepage = "https://www.disneyanimation.com/technology/seexpr.html";
|
||||
|
||||
Reference in New Issue
Block a user