Add K3D 3D editor
svn path=/nixpkgs/trunk/; revision=31850
This commit is contained in:
parent
2ac0c88674
commit
b9916f0fd9
42
pkgs/applications/graphics/k3d/default.nix
Normal file
42
pkgs/applications/graphics/k3d/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{stdenv, fetchurl, gtkLibs, gnome
|
||||
, cmake, mesa, zlib, python, expat, libxml2, libsigcxx, libuuid, freetype
|
||||
, libpng, boost, doxygen, cairomm, pkgconfig, imagemagick, libjpeg, libtiff
|
||||
, gettext, intltool, perl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.8.0.2";
|
||||
name = "k3d-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://downloads.sourceforge.net/project/k3d/K-3D%20Source/K-3D%200.8.0.2/k3d-source-0.8.0.2.tar.bz2";
|
||||
sha256 = "01fd2qb0zddif3wz1a2wdmwyzn81cf73678qp2gjs8iikmdz6w7x";
|
||||
};
|
||||
|
||||
patches = [ (fetchurl {
|
||||
url = "http://patch-tracker.debian.org/patch/series/dl/k3d/0.8.0.2-15/k3d_gtkmm224.patch";
|
||||
sha256 = "0a81fg96zby6kidqwj6n8mhbrh0j5fpnmfh7lr6havz5r2is9ks5";
|
||||
})
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/build/lib"
|
||||
'';
|
||||
|
||||
buildInputs = with gtkLibs; with gnome; [
|
||||
cmake mesa zlib python expat libxml2 libsigcxx libuuid freetype libpng
|
||||
boost doxygen cairomm pkgconfig imagemagick libjpeg libtiff gettext
|
||||
intltool perl
|
||||
gtkmm glibmm gtkglext
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A 3D editor with support for procedural editing";
|
||||
homepage = "http://k-3d.org/";
|
||||
platforms = with stdenv.lib.platforms;
|
||||
linux;
|
||||
maintainers = with stdenv.lib.maintainers;
|
||||
[raskin];
|
||||
};
|
||||
}
|
@ -7096,6 +7096,8 @@ let
|
||||
|
||||
jwm = callPackage ../applications/window-managers/jwm { };
|
||||
|
||||
k3d = callPackage ../applications/graphics/k3d {};
|
||||
|
||||
keepnote = callPackage ../applications/office/keepnote {
|
||||
pygtk = pyGtkGlade;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user