summary refs log tree commit diff
path: root/pkgs/applications/science/misc/tulip/default.nix
blob: b213c14cc1a5b912a23956e636de51a334e00db0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ fetchurl, stdenv, libxml2, freetype, mesa, glew, qt
, autoconf, automake, libtool, cmake, makeWrapper }:

let version = "3.5.0"; in
stdenv.mkDerivation rec {
  name = "tulip-${version}";

  src = fetchurl {
    url = "mirror://sourceforge/auber/tulip/tulip-${version}/${name}-src.tar.gz";
    sha256 = "0wl0wqjlifpay61pn7dxr3dl5r4a7v80f5g277p6s06ibvn2p3ln";
  };

  buildInputs = [ libxml2 freetype glew ]
    ++ [ autoconf automake libtool cmake qt makeWrapper ];
  propagagedBuildInputs = [ mesa qt ];

  postInstall=''
    wrapProgram "$out/bin/tulip"
  '';

  # 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
  };
}