diff --git a/pkgs/development/libraries/libspatialite/default.nix b/pkgs/development/libraries/libspatialite/default.nix index d5b401b804fb..43c2a9089b73 100644 --- a/pkgs/development/libraries/libspatialite/default.nix +++ b/pkgs/development/libraries/libspatialite/default.nix @@ -1,23 +1,24 @@ -{ stdenv, fetchurl, sqlite, zlib, proj, geos }: +{ stdenv, fetchurl, pkgconfig, libxml2, sqlite, zlib, proj, geos }: stdenv.mkDerivation rec { - name = "libspatialite-4.1.1"; + name = "libspatialite-4.2.0"; src = fetchurl { url = "http://www.gaia-gis.it/gaia-sins/${name}.tar.gz"; - sha256 = "03wikddl60ly0yh8szrra1ng2iccsdzz645vkn6a7x2jz45a5084"; + sha256 = "0b9ipmp09y2ij7yajyjsh0zcwps8n5g88lzfzlkph33lail8l4wz"; }; - buildInputs = [ sqlite zlib proj geos ]; + buildInputs = [ pkgconfig libxml2 sqlite zlib proj geos ]; configureFlags = "--disable-freexl"; enableParallelBuilding = true; - meta = { + meta = with stdenv.lib; { 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" ]; + license = with licenses; [ gpl2Plus lgpl21Plus mpl11 ]; + platforms = platforms.linux; }; }