2017-12-22 09:10:07 +01:00
|
|
|
{ stdenv, fetchurl, cmake, qtscript, qtwebkit, gdal, proj, routino, quazip }:
|
2017-09-24 20:18:39 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "qmapshack-${version}";
|
2018-04-20 11:50:26 +02:00
|
|
|
version = "1.11.1";
|
2017-09-24 20:18:39 +02:00
|
|
|
|
2017-12-22 09:10:07 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/maproom/qmapshack/downloads/${name}.tar.gz";
|
2018-04-20 11:50:26 +02:00
|
|
|
sha256 = "0yqilfldmfw8m18jbkffv4ar1px6kjs0zlgb216bnhahcr1y8r9y";
|
2017-09-24 20:18:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
buildInputs = [ qtscript qtwebkit gdal proj routino quazip ];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DROUTINO_XML_PATH=${routino}/share/routino"
|
|
|
|
"-DQUAZIP_INCLUDE_DIR=${quazip}/include/quazip"
|
|
|
|
"-DLIBQUAZIP_LIBRARY=${quazip}/lib/libquazip.so"
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://bitbucket.org/maproom/qmapshack/wiki/Home;
|
|
|
|
description = "Plan your next outdoor trip";
|
|
|
|
license = licenses.gpl3;
|
2017-12-05 23:20:11 +01:00
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
2017-09-24 20:18:39 +02:00
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|