diff options
Diffstat (limited to 'pkgs/applications/science/misc/tulip/default.nix')
-rw-r--r-- | pkgs/applications/science/misc/tulip/default.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/applications/science/misc/tulip/default.nix b/pkgs/applications/science/misc/tulip/default.nix new file mode 100644 index 000000000000..1feb3acd1df9 --- /dev/null +++ b/pkgs/applications/science/misc/tulip/default.nix @@ -0,0 +1,50 @@ +{ fetchurl, stdenv, libxml2, freetype, mesa, glew, qt +, autoconf, automake, libtool }: + +let version = "3.3.1"; in +stdenv.mkDerivation rec { + name = "tulip-${version}"; + + src = fetchurl { + url = "mirror://sourceforge/auber/tulip/tulip-${version}/${name}.tar.bz2"; + sha256 = "1c9c2brs1n2kvpih1jrq69vkqqnglacs5x5zlzj9cxbn70crw874"; + }; + + patches = [ ./configure-opengl.patch ]; + + preConfigure = + '' export CPATH="${mesa}/include:${glew}/include" + export LIBRARY_PATH="${mesa}/lib:${glew}/lib" + export QTDIR="${qt}" + export LDFLAGS="-lGLEW" + + rm -vf aclocal.m4 ltmain.sh + autoreconf -fi + ''; + + buildInputs = [ libxml2 freetype glew ] + ++ [ autoconf automake libtool ]; + propagagedBuildInputs = [ mesa qt ]; + + # FIXME: "make check" needs Docbook's DTD 4.4, among other things. + doCheck = false; + + meta = { + description = "Tulip, a visualization framework for the analysis and visualization of relational data"; + + longDescription = + '' Tulip is an information visualization framework dedicated to the + analysis and visualization of relational data. Tulip aims to + provide the developer with a complete library, supporting the design + of interactive information visualization applications for relational + data that can be tailored to the problems he or she is addressing. + ''; + + homepage = http://tulip.labri.fr/; + + license = "GPLv3+"; + + maintainers = [ stdenv.lib.maintainers.ludo ]; + platforms = stdenv.lib.platforms.gnu; # arbitrary choice + }; +} |