biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / gis / qmapshack / default.nix
blob4fca64f0dde5d28aaaba1d065eda06d601b5ca27
1 { lib, stdenv, fetchFromGitHub, cmake, wrapQtAppsHook
2 , qtscript, qtwebengine, gdal, proj, routino, quazip }:
4 stdenv.mkDerivation rec {
5   pname = "qmapshack";
6   version = "1.17.1";
8   src = fetchFromGitHub {
9     owner = "Maproom";
10     repo = "qmapshack";
11     rev = "V_${version}";
12     hash = "sha256-wqztKmaUxY3qd7IgPM7kV7x0BsrTMTX3DbcdM+lsarI=";
13   };
15   nativeBuildInputs = [ cmake wrapQtAppsHook ];
17   buildInputs = [ qtscript qtwebengine gdal proj routino quazip ];
19   cmakeFlags = [
20     "-DROUTINO_XML_PATH=${routino}/share/routino"
21   ];
23   qtWrapperArgs = [
24     "--suffix PATH : ${lib.makeBinPath [ gdal routino ]}"
25   ];
27   meta = with lib; {
28     description = "Consumer grade GIS software";
29     homepage = "https://github.com/Maproom/qmapshack";
30     changelog = "https://github.com/Maproom/qmapshack/blob/V_${version}/changelog.txt";
31     license = licenses.gpl3Plus;
32     maintainers = with maintainers; [ dotlambda sikmir ];
33     platforms = with platforms; linux;
34   };