diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/science/misc/gplates/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/science/misc/gplates/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/science/misc/gplates/default.nix b/nixpkgs/pkgs/applications/science/misc/gplates/default.nix new file mode 100644 index 000000000000..8b6c7497e547 --- /dev/null +++ b/nixpkgs/pkgs/applications/science/misc/gplates/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, qt4, qwt6_qt4, libGLU_combined, glew, gdal_1_11, cgal +, proj, boost, cmake, python2, doxygen, graphviz, gmp }: + +stdenv.mkDerivation rec { + name = "gplates-${version}"; + version = "2.0.0"; + + src = fetchurl { + url = "mirror://sourceforge/gplates/${name}-unixsrc.tar.bz2"; + sha256 = "02scnjj5nlc2d2c8lbx0xvj8gg1bgkjliv3wxsx564c55a9x69qw"; + }; + + patches = [ + ./boostfix.patch + ]; + + buildInputs = [ + qt4 qwt6_qt4 libGLU_combined 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; + }; +} |