at v192 45 lines 996 B view raw
1{ stdenv, fetchgit,autoconf, automake, gcc, fltk13 2, libjpeg, libpng, libtool, mesa, pkgconfig }: 3 4stdenv.mkDerivation { 5 name = "solvespace-2.0"; 6 src = fetchgit { 7 url = "https://github.com/jwesthues/solvespace.git"; 8 sha256 = "0sakxkmj2f0k27f67wy1xz2skpnwzg15yqrf7av97pgc5s8xb3da"; 9 rev = "e587d0e"; 10 }; 11 12 # e587d0e fails with undefined reference errors if make is called 13 # twice. Ugly workaround: Build while installing. 14 dontBuild = true; 15 enableParallelBuilding = false; 16 17 buildInputs = [ 18 autoconf 19 automake 20 gcc 21 fltk13 22 libjpeg 23 libpng 24 libtool 25 mesa 26 pkgconfig 27 stdenv 28 ]; 29 30 preConfigure = '' 31 aclocal 32 libtoolize 33 34 autoreconf -i 35 automake --add-missing 36 ''; 37 38 meta = { 39 description = "A parametric 3d CAD program"; 40 license = stdenv.lib.licenses.gpl3; 41 maintainers = with stdenv.lib.maintainers; [ the-kenny ]; 42 platforms = stdenv.lib.platforms.linux; 43 homepage = http://solvespace.com; 44 }; 45}