2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, cmake, pkgconfig, utillinux,
|
2016-03-26 19:13:51 +01:00
|
|
|
protobuf, zeromq, cppzmq,
|
|
|
|
version, src # parametrize version and src so we can easily have pkgs
|
|
|
|
# for different versions
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ign-transport-${version}";
|
|
|
|
inherit src;
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ cmake protobuf zeromq
|
2016-03-26 19:13:51 +01:00
|
|
|
utillinux # we need utillinux/e2fsprogs uuid/uuid.h
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cppzmq ];
|
|
|
|
|
2016-09-07 14:24:18 +02:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace cmake/ignition-config.cmake.in --replace "@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_" "@CMAKE_INSTALL_"
|
|
|
|
'';
|
|
|
|
|
2016-03-26 19:13:51 +01:00
|
|
|
meta = with stdenv.lib; {
|
2018-03-25 07:04:25 +02:00
|
|
|
homepage = https://ignitionrobotics.org/libraries/math;
|
2016-03-26 19:13:51 +01:00
|
|
|
description = "Math library by Ingition Robotics, created for the Gazebo project";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ pxc ];
|
|
|
|
platforms = platforms.all;
|
2018-04-10 23:50:56 +02:00
|
|
|
broken = true; # 2018-04-10
|
2016-03-26 19:13:51 +01:00
|
|
|
};
|
|
|
|
}
|