easytier: 2.1.1 -> 2.1.2 (#376259)
[NixPkgs.git] / pkgs / applications / gis / qmapshack / default.nix
blobde60afff3ffe174572866461ca255a27edad026f
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   cmake,
6   wrapQtAppsHook,
7   qtscript,
8   qtwebengine,
9   gdal,
10   proj,
11   routino,
12   quazip,
15 stdenv.mkDerivation rec {
16   pname = "qmapshack";
17   version = "1.17.1";
19   src = fetchFromGitHub {
20     owner = "Maproom";
21     repo = "qmapshack";
22     rev = "V_${version}";
23     hash = "sha256-wqztKmaUxY3qd7IgPM7kV7x0BsrTMTX3DbcdM+lsarI=";
24   };
26   nativeBuildInputs = [
27     cmake
28     wrapQtAppsHook
29   ];
31   buildInputs = [
32     qtscript
33     qtwebengine
34     gdal
35     proj
36     routino
37     quazip
38   ];
40   cmakeFlags = [
41     "-DROUTINO_XML_PATH=${routino}/share/routino"
42   ];
44   qtWrapperArgs = [
45     "--suffix PATH : ${
46       lib.makeBinPath [
47         gdal
48         routino
49       ]
50     }"
51   ];
53   meta = with lib; {
54     description = "Consumer grade GIS software";
55     homepage = "https://github.com/Maproom/qmapshack";
56     changelog = "https://github.com/Maproom/qmapshack/blob/V_${version}/changelog.txt";
57     license = licenses.gpl3Plus;
58     maintainers = with maintainers; [
59       dotlambda
60       sikmir
61     ];
62     platforms = with platforms; linux;
63   };