mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
gplates: 2.2.0 -> 2.3.0
This commit is contained in:
parent
7e6325efd4
commit
98c8fc6fd0
2 changed files with 55 additions and 20 deletions
|
@ -1,31 +1,69 @@
|
|||
{ lib, stdenv, fetchurl, qt4, qwt6_qt4, libGLU, libGL, glew, gdal, cgal
|
||||
, proj, boost, cmake, python2, doxygen, graphviz, gmp, mpfr }:
|
||||
{ lib
|
||||
, mkDerivation
|
||||
, fetchurl
|
||||
, cmake
|
||||
, doxygen
|
||||
, graphviz
|
||||
, boost
|
||||
, cgal_5
|
||||
, gdal
|
||||
, glew
|
||||
, gmp
|
||||
, libGL
|
||||
, libGLU
|
||||
, mpfr
|
||||
, proj
|
||||
, python3
|
||||
, qtxmlpatterns
|
||||
, qwt
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
python = python3.withPackages (ps: with ps; [
|
||||
numpy
|
||||
]);
|
||||
boost' = boost.override {
|
||||
enablePython = true;
|
||||
inherit python;
|
||||
};
|
||||
cgal = cgal_5.override {
|
||||
boost = boost';
|
||||
};
|
||||
in mkDerivation rec {
|
||||
pname = "gplates";
|
||||
version = "2.2.0";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/gplates/${pname}-${version}-unixsrc.tar.bz2";
|
||||
sha256 = "1jrcv498vpcs8xklhbsgg12yfa90f96p2mwq6x5sjnrlpf8mh50b";
|
||||
name = "gplates_${version}_src.tar.bz2";
|
||||
url = "https://www.earthbyte.org/download/8421/?uid=b89bb31428";
|
||||
sha256 = "0lrcmcxc924ixddii8cyglqlwwxvk7f00g4yzbss5i3fgcbh8n96";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [
|
||||
qt4 qwt6_qt4 libGLU libGL glew gdal cgal proj python2
|
||||
doxygen graphviz gmp mpfr
|
||||
(boost.override {
|
||||
enablePython = true;
|
||||
python = python2;
|
||||
})
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
doxygen
|
||||
graphviz
|
||||
];
|
||||
|
||||
NIX_CFLAGS_LINK="-ldl -lpthread -lutil";
|
||||
buildInputs = [
|
||||
boost'
|
||||
cgal
|
||||
gdal
|
||||
glew
|
||||
gmp
|
||||
libGL
|
||||
libGLU
|
||||
mpfr
|
||||
proj
|
||||
python
|
||||
qtxmlpatterns
|
||||
qwt
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Desktop software for the interactive visualisation of plate-tectonics";
|
||||
homepage = "https://www.gplates.org";
|
||||
license = licenses.gpl2;
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -31118,10 +31118,7 @@ with pkgs;
|
|||
|
||||
gildas = callPackage ../applications/science/astronomy/gildas { };
|
||||
|
||||
gplates = callPackage ../applications/science/misc/gplates {
|
||||
boost = boost160;
|
||||
cgal = cgal.override { boost = boost160; };
|
||||
};
|
||||
gplates = libsForQt5.callPackage ../applications/science/misc/gplates { };
|
||||
|
||||
gravit = callPackage ../applications/science/astronomy/gravit { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue