nixpkgs/pkgs/development/libraries/spatialite-tools/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

25 lines
796 B
Nix

{ stdenv, fetchurl, pkgconfig, sqlite, expat, zlib, proj, geos, libspatialite, readosm }:
stdenv.mkDerivation rec {
name = "spatialite-tools-4.1.1";
src = fetchurl {
url = "http://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/${name}.tar.gz";
sha256 = "14aqmhvab63ydbb82fglsbig7jw1wmci8jjvci07aavdhvh1pyrv";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ sqlite expat zlib proj geos libspatialite readosm ];
configureFlags = "--disable-freexl";
enableParallelBuilding = true;
meta = {
description = "A complete sqlite3-compatible CLI front-end for libspatialite";
homepage = https://www.gaia-gis.it/fossil/spatialite-tools;
license = with stdenv.lib.licenses; [ mpl11 gpl2Plus lgpl21Plus ];
platforms = stdenv.lib.platforms.linux;
};
}