1{ stdenv, fetchgit, autoreconfHook, fltk13
2, libjpeg, libpng, mesa, pkgconfig }:
3
4stdenv.mkDerivation {
5 name = "solvespace-2.0";
6 src = fetchgit {
7 url = "https://github.com/jwesthues/solvespace.git";
8 sha256 = "0m6zlx1kiqxkm6szdsnywwr6spnb7xjg6vqsq30nrr44cx37w861";
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 autoreconfHook
19 fltk13
20 libjpeg
21 libpng
22 mesa
23 pkgconfig
24 ];
25
26 meta = {
27 description = "A parametric 3d CAD program";
28 license = stdenv.lib.licenses.gpl3;
29 maintainers = with stdenv.lib.maintainers; [ the-kenny ];
30 platforms = stdenv.lib.platforms.linux;
31 homepage = http://solvespace.com;
32 };
33}