31 stdenv.mkDerivation rec {
32 pname = "librasterlite2";
33 version = "1.1.0-beta1";
36 url = "https://www.gaia-gis.it/gaia-sins/librasterlite2-sources/librasterlite2-${version}.tar.gz";
37 hash = "sha256-9yhM38B600OjFOSHjfAwCHSwFF2dMxsGOwlrSC5+RPQ=";
40 # Fix error: unknown type name 'time_t'
42 sed -i '49i #include <time.h>' headers/rasterlite2_private.h
48 geos # for geos-config
66 (libxml2.override { enableHttp = true; })
74 ] ++ lib.optional stdenv.hostPlatform.isDarwin ApplicationServices;
76 enableParallelBuilding = true;
83 description = "Advanced library supporting raster handling methods";
84 homepage = "https://www.gaia-gis.it/fossil/librasterlite2";
85 # They allow any of these
86 license = with licenses; [ gpl2Plus lgpl21Plus mpl11 ];
87 platforms = platforms.unix;
88 maintainers = with maintainers; [ sikmir ];