5 , desktopToDarwinBundle
30 stdenv.mkDerivation rec {
31 pname = "spatialite-gui";
32 version = "2.1.0-beta1";
35 url = "https://www.gaia-gis.it/gaia-sins/spatialite-gui-sources/spatialite_gui-${version}.tar.gz";
36 hash = "sha256-ukjZbfGM68P/I/aXlyB64VgszmL0WWtpuuMAyjwj2zM=";
39 nativeBuildInputs = [ pkg-config ]
40 ++ lib.optional stdenv.hostPlatform.isDarwin desktopToDarwinBundle;
62 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Carbon Cocoa IOKit ];
64 enableParallelBuilding = true;
66 postFixup = lib.optionalString stdenv.hostPlatform.isDarwin ''
71 description = "Graphical user interface for SpatiaLite";
72 homepage = "https://www.gaia-gis.it/fossil/spatialite_gui";
73 license = licenses.gpl3Plus;
74 platforms = platforms.unix;
75 maintainers = teams.geospatial.members;
76 mainProgram = "spatialite_gui";