spatialite_gui: init at 2.1.0-beta1
This commit is contained in:
parent
08eb1cf02c
commit
57ec8cf4b3
77
pkgs/applications/gis/spatialite-gui/default.nix
Normal file
77
pkgs/applications/gis/spatialite-gui/default.nix
Normal file
|
@ -0,0 +1,77 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, desktopToDarwinBundle
|
||||
, curl
|
||||
, freexl
|
||||
, geos
|
||||
, librasterlite2
|
||||
, librttopo
|
||||
, libspatialite
|
||||
, libwebp
|
||||
, libxlsxwriter
|
||||
, libxml2
|
||||
, lz4
|
||||
, minizip
|
||||
, openjpeg
|
||||
, postgresql
|
||||
, proj
|
||||
, sqlite
|
||||
, virtualpg
|
||||
, wxGTK
|
||||
, wxmac
|
||||
, zstd
|
||||
, Carbon
|
||||
, Cocoa
|
||||
, IOKit
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "spatialite-gui";
|
||||
version = "2.1.0-beta1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.gaia-gis.it/gaia-sins/spatialite-gui-sources/spatialite_gui-${version}.tar.gz";
|
||||
hash = "sha256-ukjZbfGM68P/I/aXlyB64VgszmL0WWtpuuMAyjwj2zM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ]
|
||||
++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
freexl
|
||||
geos
|
||||
librasterlite2
|
||||
librttopo
|
||||
libspatialite
|
||||
libwebp
|
||||
libxlsxwriter
|
||||
libxml2
|
||||
lz4
|
||||
minizip
|
||||
openjpeg
|
||||
postgresql
|
||||
proj
|
||||
sqlite
|
||||
virtualpg
|
||||
zstd
|
||||
] ++ lib.optional stdenv.isLinux wxGTK
|
||||
++ lib.optionals stdenv.isDarwin [ Carbon Cocoa IOKit wxmac ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postFixup = lib.optionalString stdenv.isDarwin ''
|
||||
rm -fr $out/share
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Graphical user interface for SpatiaLite";
|
||||
homepage = "https://www.gaia-gis.it/fossil/spatialite_gui";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ sikmir ];
|
||||
mainProgram = "spatialite_gui";
|
||||
};
|
||||
}
|
|
@ -26478,6 +26478,11 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||
};
|
||||
|
||||
spatialite_gui = callPackage ../applications/gis/spatialite-gui {
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa IOKit;
|
||||
wxGTK = wxGTK30-gtk3;
|
||||
};
|
||||
|
||||
spatialite_tools = callPackage ../applications/gis/spatialite-tools { };
|
||||
|
||||
udig = callPackage ../applications/gis/udig { };
|
||||
|
|
Loading…
Reference in a new issue