20 stdenv.mkDerivation rec {
21 pname = "spatialite-tools";
25 url = "https://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/spatialite-tools-${version}.tar.gz";
26 hash = "sha256-EZ40dY6AiM27Q+2BtKbq6ojHZLC32hkAGlUUslRVAc4=";
29 nativeBuildInputs = [ pkg-config ];
45 enableParallelBuilding = true;
47 passthru.tests.version = testers.testVersion {
48 package = spatialite_tools;
49 command = "! spatialite_tool --version";
50 version = "${libspatialite.version}";
54 description = "Complete sqlite3-compatible CLI front-end for libspatialite";
55 homepage = "https://www.gaia-gis.it/fossil/spatialite-tools";
56 license = with licenses; [ mpl11 gpl2Plus lgpl21Plus ];
57 platforms = platforms.unix;
58 maintainers = with maintainers; [ dotlambda ];
59 mainProgram = "spatialite_tool";