2012-08-27 13:41:49 +02:00
|
|
|
{stdenv, fetchgit, qt4, cgal, boost, gmp, mpfr, flex, bison, dxflib}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.8.0";
|
|
|
|
name = "rapcad-${version}";
|
|
|
|
|
|
|
|
src = fetchgit {
|
2013-07-18 19:42:04 +02:00
|
|
|
url = "https://github.com/GilesBathgate/RapCAD.git";
|
2012-08-27 13:41:49 +02:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
sha256 = "37c7107dc4fcf8942a4ad35377c4e42e6aedfa35296e5fcf8d84882ae35087c7";
|
|
|
|
};
|
|
|
|
|
2014-10-01 21:55:40 +02:00
|
|
|
buildInputs = [qt4 cgal boost gmp mpfr flex bison dxflib];
|
2012-08-27 13:41:49 +02:00
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
qmake;
|
|
|
|
sed -e "s@/usr/@$out/@g" -i $(find . -name Makefile)
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
description = ''Constructive solid geometry package'';
|
|
|
|
};
|
|
|
|
}
|