mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Adding OpenSCAD - a 3D geometry interpreter
svn path=/nixpkgs/trunk/; revision=31869
This commit is contained in:
parent
53bcb2094f
commit
51634c2137
34
pkgs/development/libraries/opencsg/default.nix
Normal file
34
pkgs/development/libraries/opencsg/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{stdenv, fetchurl, mesa, freeglut, glew, libXmu, libXext, libX11
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.3.2";
|
||||
name = "opencsg-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://www.opencsg.org/OpenCSG-${version}.tar.gz";
|
||||
sha256 = "09drnck27py8qg1l6gqaia85a9skqn0mz0nybjrkq4gpk0lwk467";
|
||||
};
|
||||
|
||||
buildInputs = [mesa freeglut glew libXmu libXext libX11];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -pv "$out/"{bin,share/doc/opencsg}
|
||||
|
||||
cp example/opencsgexample "$out/bin"
|
||||
cp -r include lib "$out"
|
||||
|
||||
cp license.txt "$out/share/doc/opencsg"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Constructive Solid Geometry library";
|
||||
homepage = "http://www.opencsg.org/";
|
||||
platforms = with stdenv.lib.platforms;
|
||||
linux;
|
||||
maintainers = with stdenv.lib.maintainers;
|
||||
[raskin];
|
||||
};
|
||||
}
|
||||
|
@ -7323,6 +7323,8 @@ let
|
||||
neon = neon029;
|
||||
};
|
||||
|
||||
openscad = callPackage ../applications/graphics/openscad {};
|
||||
|
||||
opera = callPackage ../applications/networking/browsers/opera {
|
||||
inherit (pkgs.gtkLibs) gdk_pixbuf atk;
|
||||
inherit (pkgs.kde4) kdelibs;
|
||||
|
Loading…
Reference in New Issue
Block a user