File tree Expand file tree Collapse file tree
pkgs/mc-rtc/robots/mc-panda Expand file tree Collapse file tree Original file line number Diff line number Diff line change 105105 mc-g1 = prev . callPackage ./pkgs/mc-rtc/robots/modules/mc-g1.nix { } ;
106106 mc-h1 = prev . callPackage ./pkgs/mc-rtc/robots/modules/mc-h1.nix { } ;
107107 mc-ur5e = prev . callPackage ./pkgs/mc-rtc/robots/modules/mc-ur5e.nix { } ;
108- mc-panda = callWithLocal ./pkgs/mc-rtc/robots/mc-panda { } ;
109- mc-panda-lirmm = callWithLocal ./pkgs/mc-rtc/robots/mc-panda/mc-panda-lirmm.nix { } ;
108+ mc-panda = prev . callPackage ./pkgs/mc-rtc/robots/mc-panda { } ;
109+ mc-panda-lirmm = prev . callPackage ./pkgs/mc-rtc/robots/mc-panda/mc-panda-lirmm.nix { } ;
110110
111111 libfranka = prev . callPackage ./pkgs/mc-rtc/robots/mc-panda/libfranka.nix { } ;
112112 # mc-franka = prev.callPackage ./pkgs/mc-rtc/robots/mc-panda/mc-franka.nix {};
113- mc-franka = callWithLocal ./pkgs/mc-rtc/robots/mc-panda/mc-franka.nix { } ;
113+ mc-franka = prev . callPackage ./pkgs/mc-rtc/robots/mc-panda/mc-franka.nix { } ;
114114 poco = prev . callPackage ./pkgs/mc-rtc/robots/mc-panda/libpoco.nix { } ;
115115 mesh-sampling = prev . callPackage ./pkgs/mesh-sampling { } ;
116116 # mesh-sampling = callWithLocal ./pkgs/mesh-sampling {};
Original file line number Diff line number Diff line change 44 fetchgit ,
55 cmake ,
66 mc-rtc ,
7- libfranka ,
8- franka-description ,
9- xacro ,
10- useLocal ? false ,
11- localWorkspace ? null ,
12- with-ros ? false ,
7+ libfranka , # use jrl-umi3218 fork
138} :
149
1510stdenv . mkDerivation {
1611 pname = "mc-panda" ;
1712 version = "1.0.0" ;
1813
19- src =
20- if useLocal then
21- builtins . trace "Using local workspace for mc-panda: ${ localWorkspace } /mc_panda" (
22- builtins . path {
23- path = "${ localWorkspace } /mc_panda" ;
24- name = "mc-panda-src" ;
25- }
26- )
27- else
28- # TODO: release mc-panda
29- fetchgit {
30- url = "https://github.com/arntanguy/mc_panda" ;
31- # topic/nix
32- rev = "34933cdd9802493627f4a0470166b87580be43ae" ;
33- sha256 = "sha256-bj/wGDqYwmzMqJ5wziX1x/+gXamYsCXrhB2/anN0Gmk=" ;
34- } ;
14+ src = fetchgit {
15+ url = "https://github.com/arntanguy/mc_panda" ;
16+ # topic/nix
17+ rev = "34933cdd9802493627f4a0470166b87580be43ae" ;
18+ sha256 = "sha256-bj/wGDqYwmzMqJ5wziX1x/+gXamYsCXrhB2/anN0Gmk=" ;
19+ } ;
3520
3621 nativeBuildInputs = [ cmake ] ;
37- propagatedBuildInputs = builtins . trace "panda with-ros: ${ toString with-ros } " (
38- [
39- mc-rtc
40- libfranka
41- ]
42- ++ lib . optional ( with-ros ) [
43- franka-description
44- xacro
45- ]
46- ) ;
22+ propagatedBuildInputs = [
23+ mc-rtc
24+ libfranka
25+ ] ;
4726
4827 cmakeFlags = [
4928 "-DBUILD_TESTING=OFF"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -38,8 +38,6 @@ stdenv.mkDerivation {
3838 # Optional: enable documentation if you want
3939 # nativeBuildInputs = nativeBuildInputs ++ [ doxygen graphviz ];
4040
41- patches = [ ./libfranka-cmake-version.patch ] ;
42-
4341 cmakeFlags = [
4442 "-DCMAKE_CXX_STANDARD=14"
4543 "-DBUILD_EXAMPLES=ON"
You can’t perform that action at this time.
0 commit comments