2021-01-17 03:09:27 +01:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, qmake, pkg-config, fetchpatch
|
2020-12-12 12:25:00 +01:00
|
|
|
, boost, gdal, proj, qtbase, qtsvg, qtwebview, qtwebkit }:
|
2010-06-13 21:32:04 +02:00
|
|
|
|
2020-12-12 12:25:00 +01:00
|
|
|
mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "merkaartor";
|
2020-12-12 12:25:00 +01:00
|
|
|
version = "0.18.4";
|
2016-06-26 09:03:58 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "openstreetmap";
|
|
|
|
repo = "merkaartor";
|
2020-12-12 12:25:00 +01:00
|
|
|
rev = version;
|
|
|
|
sha256 = "vwO4/a7YF9KbpxcFGTFCdG6SfwEyhISlEtcA+rMebUA=";
|
2010-06-13 21:32:04 +02:00
|
|
|
};
|
|
|
|
|
2020-12-12 12:25:00 +01:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/openstreetmap/merkaartor/commit/e72553a7ea2c7ba0634cc3afcd27a9f7cfef089c.patch";
|
|
|
|
sha256 = "NAisplnS3xHSlRpX+fH15NpbaD+uM57OCsTYGKlIR7U=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2021-01-17 03:09:27 +01:00
|
|
|
nativeBuildInputs = [ qmake pkg-config ];
|
2010-06-13 21:32:04 +02:00
|
|
|
|
2019-11-12 00:30:24 +01:00
|
|
|
buildInputs = [ boost gdal proj qtbase qtsvg qtwebview qtwebkit ];
|
2016-04-17 01:33:35 +02:00
|
|
|
|
2017-10-01 03:22:41 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-10-30 12:34:47 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H";
|
2019-07-11 13:58:46 +02:00
|
|
|
|
2020-12-12 12:25:00 +01:00
|
|
|
meta = with lib; {
|
2017-10-01 03:22:41 +02:00
|
|
|
description = "OpenStreetMap editor";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://merkaartor.be/";
|
2017-10-01 03:22:41 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2018-07-22 21:50:19 +02:00
|
|
|
maintainers = with maintainers; [ ];
|
2010-06-13 21:32:04 +02:00
|
|
|
};
|
|
|
|
}
|