summary refs log tree commit diff
path: root/pkgs/applications/science/robotics/yarp
diff options
context:
space:
mode:
author= <anothersms@gmail.com>2016-10-20 19:34:03 +0200
committer= <anothersms@gmail.com>2016-10-20 19:34:03 +0200
commitd6880b210c585eab22eb50e0a712405eb5744fc7 (patch)
treeec12e23330848545ad5a30abad22960024af5342 /pkgs/applications/science/robotics/yarp
parent42093f359270b196671384424510bb2d866fb8dc (diff)
downloadnixlib-d6880b210c585eab22eb50e0a712405eb5744fc7.tar
nixlib-d6880b210c585eab22eb50e0a712405eb5744fc7.tar.gz
nixlib-d6880b210c585eab22eb50e0a712405eb5744fc7.tar.bz2
nixlib-d6880b210c585eab22eb50e0a712405eb5744fc7.tar.lz
nixlib-d6880b210c585eab22eb50e0a712405eb5744fc7.tar.xz
nixlib-d6880b210c585eab22eb50e0a712405eb5744fc7.tar.zst
nixlib-d6880b210c585eab22eb50e0a712405eb5744fc7.zip
yarp: 2.3.65 -> 2.3.66.1
Diffstat (limited to 'pkgs/applications/science/robotics/yarp')
-rw-r--r--pkgs/applications/science/robotics/yarp/default.nix17
1 files changed, 14 insertions, 3 deletions
diff --git a/pkgs/applications/science/robotics/yarp/default.nix b/pkgs/applications/science/robotics/yarp/default.nix
index 76ba871c4a1d..5e4bda1aaa06 100644
--- a/pkgs/applications/science/robotics/yarp/default.nix
+++ b/pkgs/applications/science/robotics/yarp/default.nix
@@ -3,18 +3,29 @@
 
 stdenv.mkDerivation rec {
   name = "yarp-${version}";
-  version = "2.3.65";
+  version = "2.3.66";
   src = fetchFromGitHub {
     owner = "robotology";
     repo = "yarp";
-    rev = "v${version}";
-    sha256 = "003n0z1qrd7l8maa98aa49gsfsyy7w8gb2pprlgj92r0drk8zm02";
+    rev = "v${version}.1";
+    sha256 = "0hznysxhk6pd92fymcrnbbl8ah7rcwhcvb6n92v09zjv6yl5xpiq";
   };
 
   buildInputs = [ cmake ace ];
 
   enableParallelBuilding = true;
 
+  cmakeFlags = [
+    "-DYARP_COMPILE_UNMAINTAINED:BOOL=ON"
+    "-DCREATE_YARPC:BOOL=ON"
+    "-DCREATE_YARPCXX:BOOL=ON"
+  ];
+
+  # since we cant expand $out in cmakeFlags
+  preConfigure = ''cmakeFlags="$cmakeFlags -DCMAKE_INSTALL_LIBDIR=$out/lib"'';
+
+  postInstall = "mv ./$out/lib/*.so $out/lib/";
+
   meta = {
     description = "Yet Another Robot Platform";
     homepage = http://yarp.it;