1 import ./make-test-python.nix ({ pkgs, lib, qgisPackage, ... }:
3 testScript = pkgs.writeTextFile {
5 text = (builtins.readFile ../../pkgs/applications/gis/qgis/test.py);
11 maintainers = with lib; [ teams.geospatial.members ];
15 machine = { pkgs, ... }: {
16 virtualisation.diskSize = 2 * 1024;
18 imports = [ ./common/x11.nix ];
19 environment.systemPackages = [ qgisPackage ];
27 machine.succeed("${qgisPackage}/bin/qgis --version | grep 'QGIS ${qgisPackage.version}'")
28 machine.succeed("${qgisPackage}/bin/qgis --code ${testScript}")