2010-07-28 19:01:17 +01:00
|
|
|
{ composableDerivation, fetchurl, python }:
|
2007-12-03 16:01:51 +00:00
|
|
|
|
2010-07-28 19:01:17 +01:00
|
|
|
let inherit (composableDerivation) edf; in
|
|
|
|
|
|
|
|
composableDerivation.composableDerivation {} {
|
2008-12-20 01:20:35 +00:00
|
|
|
|
2009-03-06 23:21:28 +00:00
|
|
|
flags =
|
|
|
|
# python and ruby untested
|
|
|
|
edf { name = "python"; enable = { buildInputs = [ python ]; }; };
|
|
|
|
# (if args.use_svn then ["libtool" "autoconf" "automake" "swig"] else [])
|
|
|
|
# // edf { name = "ruby"; enable = { buildInputs = [ ruby ]; };}
|
2008-12-20 01:20:35 +00:00
|
|
|
|
2010-05-09 21:38:12 +01:00
|
|
|
name = "geos-3.2.2";
|
2007-12-03 16:01:51 +00:00
|
|
|
|
2009-03-06 23:21:28 +00:00
|
|
|
src = fetchurl {
|
2010-07-28 19:01:17 +01:00
|
|
|
url = http://download.osgeo.org/geos/geos-3.2.2.tar.bz2;
|
|
|
|
sha256 = "0711wcq46h7zgvp0bk4m60vmx1wal9db1q36mayf0vwk34hprpr4";
|
2009-03-06 23:21:28 +00:00
|
|
|
};
|
2007-12-03 16:01:51 +00:00
|
|
|
|
2009-03-06 23:21:28 +00:00
|
|
|
# for development version. can be removed ?
|
|
|
|
#configurePhase = "
|
|
|
|
# [ -f configure ] || \\
|
|
|
|
# LIBTOOLIZE=libtoolize ./autogen.sh
|
|
|
|
# [>{ automake --add-missing; autoconf; }
|
|
|
|
# unset configurePhase; configurePhase
|
|
|
|
#";
|
2007-12-03 16:01:51 +00:00
|
|
|
|
2009-03-06 23:21:28 +00:00
|
|
|
meta = {
|
2010-07-28 19:01:17 +01:00
|
|
|
description = "C++ port of the Java Topology Suite (JTS)";
|
|
|
|
homepage = http://geos.refractions.net/;
|
|
|
|
license = "GPL";
|
2007-12-03 16:01:51 +00:00
|
|
|
};
|
2008-12-20 01:20:35 +00:00
|
|
|
}
|