Fernando Rodrigues 05580f4b44
treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00

75 lines
1.4 KiB
Nix

{
lib,
stdenv,
fetchurl,
pkg-config,
freexl,
geos,
expat,
librttopo,
libspatialite,
libxml2,
libz,
minizip,
proj,
readosm,
sqlite,
testers,
spatialite-tools,
}:
stdenv.mkDerivation rec {
pname = "spatialite-tools";
version = "5.1.0a";
src = fetchurl {
url = "https://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/spatialite-tools-${version}.tar.gz";
hash = "sha256-EZ40dY6AiM27Q+2BtKbq6ojHZLC32hkAGlUUslRVAc4=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
expat
freexl
geos
librttopo
libspatialite
libxml2
libz
minizip
proj
readosm
sqlite
];
env = {
NIX_LDFLAGS = toString [
"-lxml2"
(lib.optionalString stdenv.hostPlatform.isDarwin "-liconv")
];
};
enableParallelBuilding = true;
passthru.tests.version = testers.testVersion {
package = spatialite-tools;
command = "! spatialite_tool --version";
version = "${libspatialite.version}";
};
meta = {
description = "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.unix;
maintainers = with lib.maintainers; [ dotlambda ];
teams = [ lib.teams.geospatial ];
mainProgram = "spatialite_tool";
};
}