spatialite_tools: 4.1.1 -> 5.0.0

This commit is contained in:
Robert Schütz 2021-05-25 00:41:00 +02:00
parent 06df299b9e
commit 1b4dc54d40

View file

@ -1,15 +1,40 @@
{ lib, stdenv, fetchurl, pkg-config, sqlite, expat, zlib, proj, geos, libspatialite, readosm }:
{ lib
, stdenv
, fetchurl
, pkg-config
, geos
, expat
, librttopo
, libspatialite
, libxml2
, minizip
, proj
, readosm
, sqlite
}:
stdenv.mkDerivation rec {
name = "spatialite-tools-4.1.1";
pname = "spatialite-tools";
version = "5.0.0";
src = fetchurl {
url = "https://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/${name}.tar.gz";
sha256 = "14aqmhvab63ydbb82fglsbig7jw1wmci8jjvci07aavdhvh1pyrv";
url = "https://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/${pname}-${version}.tar.gz";
sha256 = "0ckddgdpxhy6vkpr9q2hnx5qmanrd8g4pqnifbrq1i5jrj82s2dd";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ sqlite expat zlib proj geos libspatialite readosm ];
buildInputs = [
expat
geos
librttopo
libspatialite
libxml2
minizip
proj
readosm
sqlite
];
configureFlags = [ "--disable-freexl" ];
@ -17,10 +42,11 @@ stdenv.mkDerivation rec {
NIX_LDFLAGS = "-lsqlite3";
meta = {
meta = with lib; {
description = "A complete sqlite3-compatible CLI front-end for libspatialite";
homepage = "https://www.gaia-gis.it/fossil/spatialite-tools";
license = with lib.licenses; [ mpl11 gpl2Plus lgpl21Plus ];
platforms = lib.platforms.linux;
license = with licenses; [ mpl11 gpl2Plus lgpl21Plus ];
platforms = platforms.linux;
maintainers = with maintainers; [ dotlambda ];
};
}