a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
31 lines
867 B
Nix
31 lines
867 B
Nix
{ lib, stdenv, fetchurl, qt4, qwt6_qt4, libGLU, libGL, glew, gdal, cgal
|
|
, proj, boost, cmake, python2, doxygen, graphviz, gmp, mpfr }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gplates";
|
|
version = "2.2.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/gplates/${pname}-${version}-unixsrc.tar.bz2";
|
|
sha256 = "1jrcv498vpcs8xklhbsgg12yfa90f96p2mwq6x5sjnrlpf8mh50b";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [
|
|
qt4 qwt6_qt4 libGLU libGL glew gdal cgal proj python2
|
|
doxygen graphviz gmp mpfr
|
|
(boost.override {
|
|
enablePython = true;
|
|
python = python2;
|
|
})
|
|
];
|
|
|
|
NIX_CFLAGS_LINK="-ldl -lpthread -lutil";
|
|
|
|
meta = with lib; {
|
|
description = "Desktop software for the interactive visualisation of plate-tectonics";
|
|
homepage = "https://www.gplates.org";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|