Advertisement
Guest User

Untitled

a guest
Dec 17th, 2019
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.56 KB | None | 0 0
  1. with (import <nixpkgs> {});
  2. stdenv.mkDerivation {
  3.   # src = if false #(builtins.pathExists ./.git)
  4.   #       then builtins.fetchGit ./.
  5.   #       else { outPath = ./.; revCount = 1234; shortRev = "abcdefgh"; };
  6.   src = ./.;
  7.   name = "dat-pxfut";
  8.   version = "dev-0.1";
  9.  
  10.   nativeBuildInputs = with pkgs; [ cmake ];
  11.   gcc=clang_9;
  12.   buildInputs = [
  13.     clang_9
  14.     cmake
  15.     git
  16.     libpcap
  17.     gtest
  18.     boost
  19.     tbb
  20.     protobuf
  21.     cppzmq
  22.     czmq
  23.   ];
  24.  
  25.   cmakeFlags = [
  26.     "-DPREFER_STATIC_LIBRARY=ON"
  27.   ];
  28.  
  29.   enableParalellBuilding = true;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement