mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Rapcad: add
Rapcad is a tool similar to OpenSCAD but with a richer language.
This commit is contained in:
parent
2001983746
commit
098b0c6a1d
26
pkgs/applications/graphics/rapcad/default.nix
Normal file
26
pkgs/applications/graphics/rapcad/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{stdenv, fetchgit, qt4, cgal, boost, gmp, mpfr, flex, bison, dxflib}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.8.0";
|
||||
name = "rapcad-${version}";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://git.rapcad.org/rapcad";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "37c7107dc4fcf8942a4ad35377c4e42e6aedfa35296e5fcf8d84882ae35087c7";
|
||||
};
|
||||
|
||||
buildInputs = [qt4 cgal boost gmp mpfr flex bison dxflib];
|
||||
|
||||
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'';
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user