nixpkgs/pkgs/applications/science/misc/gplates/default.nix

31 lines
840 B
Nix
Raw Normal View History

2020-07-28 00:24:32 +00:00
{ stdenv, fetchurl, qt4, qwt6_qt4, libGLU, libGL, glew, gdal, cgal
, proj, boost, cmake, python2, doxygen, graphviz, gmp, mpfr }:
2016-12-17 00:17:29 +00:00
stdenv.mkDerivation rec {
pname = "gplates";
2020-07-28 00:24:32 +00:00
version = "2.2.0";
2016-12-17 00:17:29 +00:00
src = fetchurl {
url = "mirror://sourceforge/gplates/${pname}-${version}-unixsrc.tar.bz2";
2020-07-28 00:24:32 +00:00
sha256 = "1jrcv498vpcs8xklhbsgg12yfa90f96p2mwq6x5sjnrlpf8mh50b";
2016-12-17 00:17:29 +00:00
};
2017-03-02 13:13:02 +00:00
buildInputs = [
2020-07-28 00:24:32 +00:00
qt4 qwt6_qt4 libGLU libGL glew gdal cgal proj cmake python2
doxygen graphviz gmp mpfr
(boost.override {
enablePython = true;
python = python2;
})
2017-03-02 13:13:02 +00:00
];
2016-12-17 00:17:29 +00:00
2020-07-28 00:24:32 +00:00
NIX_CFLAGS_LINK="-ldl -lpthread -lutil";
2016-12-17 00:17:29 +00:00
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;
};
}