mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
32 lines
920 B
Nix
32 lines
920 B
Nix
{ stdenv, cmake, pkgconfig, utillinux,
|
|
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;
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ cmake protobuf zeromq
|
|
utillinux # we need utillinux/e2fsprogs uuid/uuid.h
|
|
];
|
|
|
|
propagatedBuildInputs = [ cppzmq ];
|
|
|
|
postPatch = ''
|
|
substituteInPlace cmake/ignition-config.cmake.in --replace "@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_" "@CMAKE_INSTALL_"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://ignitionrobotics.org/libraries/math;
|
|
description = "Math library by Ingition Robotics, created for the Gazebo project";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ pxc ];
|
|
platforms = platforms.all;
|
|
broken = true; # 2018-04-10
|
|
};
|
|
}
|