1 { lib, stdenv, fetchurl, validatePkgConfig, postgresql, sqlite }:
3 stdenv.mkDerivation rec {
8 url = "https://www.gaia-gis.it/gaia-sins/virtualpg-${version}.tar.gz";
9 hash = "sha256-virr64yf8nQ4IIX1HUIugjhYvKT2vC+pCYFkZMah4Is=";
14 postgresql # for pg_config
17 buildInputs = [ postgresql sqlite ];
20 description = "Loadable dynamic extension to both SQLite and SpatiaLite";
21 homepage = "https://www.gaia-gis.it/fossil/virtualpg";
22 license = with licenses; [ mpl11 gpl2Plus lgpl21Plus ];
23 platforms = platforms.unix;
24 maintainers = with maintainers; [ sikmir ];