2020-04-24 23:36:52 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, cmake
|
|
|
|
, qtscript, qtwebengine, gdal, proj, routino, quazip }:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "qmapshack";
|
2021-05-29 03:34:57 +00:00
|
|
|
version = "1.16.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Maproom";
|
|
|
|
repo = pname;
|
|
|
|
rev = "V_${version}";
|
2021-05-29 03:34:57 +00:00
|
|
|
sha256 = "1yzgkdjxwyg8ggbxyjwr0zjrx99ckrbz2p2524iii9i7qqn8wfsx";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
buildInputs = [ qtscript qtwebengine gdal proj routino quazip ];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DROUTINO_XML_PATH=${routino}/share/routino"
|
|
|
|
];
|
|
|
|
|
2020-05-29 06:06:01 +00:00
|
|
|
qtWrapperArgs = [
|
|
|
|
"--suffix PATH : ${lib.makeBinPath [ gdal routino ]}"
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/Maproom/qmapshack";
|
|
|
|
description = "Consumer grade GIS software";
|
2020-11-30 08:33:03 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ dotlambda sikmir ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|