2014-09-15 15:27:14 +01:00
|
|
|
{ stdenv, fetchgit,autoconf, automake, gcc, fltk13
|
|
|
|
, libjpeg, libpng, libtool, mesa, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "solvespace-2.0";
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://gitorious.org/solvespace/solvespace.git";
|
|
|
|
sha256 = "0sakxkmj2f0k27f67wy1xz2skpnwzg15yqrf7av97pgc5s8xb3da";
|
|
|
|
rev = "e587d0e";
|
|
|
|
};
|
|
|
|
|
|
|
|
# e587d0e fails with undefined reference errors if make is called
|
|
|
|
# twice. Ugly workaround: Build while installing.
|
|
|
|
dontBuild = true;
|
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
gcc
|
|
|
|
fltk13
|
|
|
|
libjpeg
|
|
|
|
libpng
|
|
|
|
libtool
|
|
|
|
mesa
|
|
|
|
pkgconfig
|
|
|
|
stdenv
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
aclocal
|
|
|
|
libtoolize
|
|
|
|
|
|
|
|
autoreconf -i
|
|
|
|
automake --add-missing
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "A parametric 3d CAD program";
|
2014-09-15 15:27:14 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
homepage = http://solvespace.com;
|
|
|
|
};
|
|
|
|
}
|