2016-01-18 00:04:40 +01:00
|
|
|
{ stdenv, fetchgit, autoreconfHook, fltk13
|
|
|
|
, libjpeg, libpng, mesa, pkgconfig }:
|
2014-09-15 16:27:14 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "solvespace-2.0";
|
|
|
|
src = fetchgit {
|
2015-08-16 19:09:27 +02:00
|
|
|
url = "https://github.com/jwesthues/solvespace.git";
|
2016-06-02 13:26:44 +02:00
|
|
|
sha256 = "0m6zlx1kiqxkm6szdsnywwr6spnb7xjg6vqsq30nrr44cx37w861";
|
2014-09-15 16:27:14 +02:00
|
|
|
rev = "e587d0e";
|
|
|
|
};
|
|
|
|
|
|
|
|
# e587d0e fails with undefined reference errors if make is called
|
|
|
|
# twice. Ugly workaround: Build while installing.
|
|
|
|
dontBuild = true;
|
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
2016-01-18 00:04:40 +01:00
|
|
|
buildInputs = [
|
|
|
|
autoreconfHook
|
2014-09-15 16:27:14 +02:00
|
|
|
fltk13
|
|
|
|
libjpeg
|
|
|
|
libpng
|
|
|
|
mesa
|
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2014-11-11 14:20:43 +01:00
|
|
|
description = "A parametric 3d CAD program";
|
2014-09-15 16:27:14 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
homepage = http://solvespace.com;
|
|
|
|
};
|
|
|
|
}
|