mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
27 lines
744 B
Nix
27 lines
744 B
Nix
{ stdenv, fetchurl, cmake }:
|
|
|
|
let
|
|
version = "2.6.0";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "ign-math2-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://gazebosim.org/distributions/ign-math/releases/ignition-math2-${version}.tar.bz2";
|
|
sha256 = "1d4naq0zp704c7ckj2wwmhplxmwkvcs1jib8bklnnd09lhg9j92j";
|
|
};
|
|
|
|
buildInputs = [ cmake ];
|
|
preConfigure = ''
|
|
cmakeFlags="$cmakeFlags -DCMAKE_INSTALL_INCLUDEDIR=include -DCMAKE_INSTALL_LIBDIR=lib"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://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;
|
|
};
|
|
}
|