treewide: cmake buildInputs to nativeBuildInputs, minor cleanups

This commit is contained in:
Ben Siraphob
2021-01-01 11:52:33 +07:00
parent 54ab07c1fe
commit b04fc593e7
212 changed files with 611 additions and 634 deletions
+6 -10
View File
@@ -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 = ''