summary refs log tree commit diff
path: root/pkgs/applications/science/misc/gplates/default.nix
blob: 592e36370e0f4df1bc0dfed8b3421e2a4ea2b2f3 (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
{ stdenv, fetchurl, qt4, qwt6_qt4, libGLU, libGL, glew, gdal_1_11, cgal
, proj, boost, cmake, python2, doxygen, graphviz, gmp }:

stdenv.mkDerivation rec {
  pname = "gplates";
  version = "2.0.0";

  src = fetchurl {
    url = "mirror://sourceforge/gplates/${pname}-${version}-unixsrc.tar.bz2";
    sha256 = "02scnjj5nlc2d2c8lbx0xvj8gg1bgkjliv3wxsx564c55a9x69qw";
  };

  patches = [
    ./boostfix.patch
  ];

  buildInputs = [
    qt4 qwt6_qt4 libGLU libGL glew gdal_1_11 cgal proj boost cmake python2
    doxygen graphviz gmp
  ];

  meta = with stdenv.lib; {
    description = "Desktop software for the interactive visualisation of plate-tectonics";
    homepage = "https://www.gplates.org";
    license = licenses.gpl2;
    platforms = platforms.all;
    broken = true;
  };
}