Updating qgis (1.8.0 & geos (3.3.8).
I also add libspatialindex and libspatialite, to get the latest qgis building.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
let inherit (composableDerivation) edf; in
|
||||
|
||||
composableDerivation.composableDerivation {} {
|
||||
composableDerivation.composableDerivation {} rec {
|
||||
|
||||
flags =
|
||||
# python and ruby untested
|
||||
@@ -10,20 +10,14 @@ composableDerivation.composableDerivation {} {
|
||||
# (if args.use_svn then ["libtool" "autoconf" "automake" "swig"] else [])
|
||||
# // edf { name = "ruby"; enable = { buildInputs = [ ruby ]; };}
|
||||
|
||||
name = "geos-3.2.2";
|
||||
name = "geos-3.3.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://download.osgeo.org/geos/geos-3.2.2.tar.bz2;
|
||||
sha256 = "0711wcq46h7zgvp0bk4m60vmx1wal9db1q36mayf0vwk34hprpr4";
|
||||
url = "http://download.osgeo.org/geos/${name}.tar.bz2";
|
||||
sha256 = "0fshz8s9g610ycl4grrmcdcxb01aqpc6qac3x3jjik0vlz8x9v7b";
|
||||
};
|
||||
|
||||
# for development version. can be removed ?
|
||||
#configurePhase = "
|
||||
# [ -f configure ] || \\
|
||||
# LIBTOOLIZE=libtoolize ./autogen.sh
|
||||
# [>{ automake --add-missing; autoconf; }
|
||||
# unset configurePhase; configurePhase
|
||||
#";
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "C++ port of the Java Topology Suite (JTS)";
|
||||
|
||||
20
pkgs/development/libraries/libspatialindex/default.nix
Normal file
20
pkgs/development/libraries/libspatialindex/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
let version = "1.8.1"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libspatialindex-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.osgeo.org/libspatialindex/spatialindex-src-${version}.tar.gz";
|
||||
sha256 = "1ay1kxn4baccd0cqx466v7fn8c8gcfbhlnd5mbdnd7s4aw0ix88j";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Extensible spatial index library in C++";
|
||||
homepage = http://libspatialindex.github.io/;
|
||||
license = "MIT";
|
||||
};
|
||||
}
|
||||
23
pkgs/development/libraries/libspatialite/default.nix
Normal file
23
pkgs/development/libraries/libspatialite/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchurl, sqlite, zlib, proj, geos }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libspatialite-4.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.gaia-gis.it/gaia-sins/${name}.tar.gz";
|
||||
sha256 = "03wikddl60ly0yh8szrra1ng2iccsdzz645vkn6a7x2jz45a5084";
|
||||
};
|
||||
|
||||
buildInputs = [ sqlite zlib proj geos ];
|
||||
|
||||
configureFlags = "--disable-freexl";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Extensible spatial index library in C++";
|
||||
homepage = https://www.gaia-gis.it/fossil/libspatialite;
|
||||
# They allow any of these
|
||||
license = [ "GPLv2+" "LGPLv2+" "MPL1.1" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user