My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/applications/graphics/rapcad/default.nix

27 lines
741 B

10 years ago
{stdenv, fetchgit, qt5, cgal, boost, gmp, mpfr, flex, bison, dxflib, readline }:
stdenv.mkDerivation rec {
10 years ago
version = "0.9.5";
name = "rapcad-${version}";
src = fetchgit {
11 years ago
url = "https://github.com/GilesBathgate/RapCAD.git";
rev = "refs/tags/v${version}";
10 years ago
sha256 = "15c18jvgbwyrfhv7r35ih0gzx35vjlsbi984h1sckgh2z17hjq8l";
};
buildInputs = [qt5.base cgal boost gmp mpfr flex bison dxflib readline ];
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'';
};
}