1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 09:02:46 +00:00

Merge pull request #21034 from acowley/ignition-math-2.6.0

ignition-math: 2.3.0 -> 2.6.0
This commit is contained in:
Frederik Rietdijk 2016-12-10 14:24:43 +01:00 committed by GitHub
commit badd367e32

View file

@ -1,17 +1,20 @@
{ stdenv, fetchurl, cmake }:
let
version = "2.3.0";
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 = "1a2jgq6allcxg62y0r61iv4hgxkfr1whpsxy75hg7k85s7da8dpl";
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;