about summary refs log tree commit diff
path: root/pkgs/development/tools/analysis/include-what-you-use
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-11-26 18:44:44 +0100
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-11-26 23:45:31 +0100
commit2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c (patch)
tree64bf789924f9b17cf4ab32f75692c0c10ed4f2f6 /pkgs/development/tools/analysis/include-what-you-use
parent8fe518e763917f478dc5e76eae7b2aea9c582cad (diff)
downloadnixlib-2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c.tar
nixlib-2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c.tar.gz
nixlib-2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c.tar.bz2
nixlib-2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c.tar.lz
nixlib-2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c.tar.xz
nixlib-2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c.tar.zst
nixlib-2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c.zip
Convert some *Flags from strings to lists
Diffstat (limited to 'pkgs/development/tools/analysis/include-what-you-use')
-rw-r--r--pkgs/development/tools/analysis/include-what-you-use/default.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/development/tools/analysis/include-what-you-use/default.nix b/pkgs/development/tools/analysis/include-what-you-use/default.nix
index 577d058beb13..57d5cadf98c2 100644
--- a/pkgs/development/tools/analysis/include-what-you-use/default.nix
+++ b/pkgs/development/tools/analysis/include-what-you-use/default.nix
@@ -11,7 +11,15 @@ in stdenv.mkDerivation rec {
     url = "${meta.homepage}/downloads/${name}.src.tar.gz";
   };
 
+  buildInputs = with llvmPackages; [ clang llvm ];
+  nativeBuildInputs = [ cmake ];
+
+  cmakeFlags = [ "-DIWYU_LLVM_ROOT_PATH=${llvmPackages.clang-unwrapped}" ];
+
+  enableParallelBuilding = true;
+
   meta = with stdenv.lib; {
+    inherit version;
     description = "Analyze #includes in C/C++ source files with clang";
     longDescription = ''
       For every symbol (type, function variable, or macro) that you use in
@@ -26,11 +34,4 @@ in stdenv.mkDerivation rec {
     platforms = platforms.linux;
     maintainers = with maintainers; [ nckx ];
   };
-
-  buildInputs = with llvmPackages; [ clang llvm ];
-  nativeBuildInputs = [ cmake ];
-
-  cmakeFlags = "-DIWYU_LLVM_ROOT_PATH=${llvmPackages.clang-unwrapped}";
-
-  enableParallelBuilding = true;
 }