9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
26 lines
835 B
Nix
26 lines
835 B
Nix
{ stdenv, fetchurl, pkg-config, sqlite, expat, zlib, proj, geos, libspatialite, readosm }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "spatialite-tools-4.1.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/${name}.tar.gz";
|
|
sha256 = "14aqmhvab63ydbb82fglsbig7jw1wmci8jjvci07aavdhvh1pyrv";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ sqlite expat zlib proj geos libspatialite readosm ];
|
|
|
|
configureFlags = [ "--disable-freexl" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
NIX_LDFLAGS = "-lsqlite3";
|
|
|
|
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;
|
|
};
|
|
}
|