Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
80 lines
1.3 KiB
Nix
80 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
desktopToDarwinBundle,
|
|
curl,
|
|
freexl,
|
|
geos,
|
|
libpq,
|
|
librasterlite2,
|
|
librttopo,
|
|
libspatialite,
|
|
libwebp,
|
|
libxlsxwriter,
|
|
libxml2,
|
|
lz4,
|
|
minizip,
|
|
openjpeg,
|
|
proj,
|
|
sqlite,
|
|
virtualpg,
|
|
wxGTK32,
|
|
xz,
|
|
zstd,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "spatialite-gui";
|
|
version = "2.1.0-beta1";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.gaia-gis.it/gaia-sins/spatialite-gui-sources/spatialite_gui-${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-ukjZbfGM68P/I/aXlyB64VgszmL0WWtpuuMAyjwj2zM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
libpq.pg_config
|
|
pkg-config
|
|
]
|
|
++ lib.optional stdenv.hostPlatform.isDarwin desktopToDarwinBundle;
|
|
|
|
buildInputs = [
|
|
curl
|
|
freexl
|
|
geos
|
|
libpq
|
|
librasterlite2
|
|
librttopo
|
|
libspatialite
|
|
libwebp
|
|
libxlsxwriter
|
|
libxml2
|
|
lz4
|
|
minizip
|
|
openjpeg
|
|
proj
|
|
sqlite
|
|
virtualpg
|
|
wxGTK32
|
|
xz
|
|
zstd
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
postFixup = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
|
rm -fr $out/share
|
|
'';
|
|
|
|
meta = {
|
|
description = "Graphical user interface for SpatiaLite";
|
|
homepage = "https://www.gaia-gis.it/fossil/spatialite_gui";
|
|
license = lib.licenses.gpl3Plus;
|
|
platforms = lib.platforms.unix;
|
|
teams = [ lib.teams.geospatial ];
|
|
mainProgram = "spatialite_gui";
|
|
};
|
|
})
|