3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/merkaartor/default.nix

37 lines
979 B
Nix
Raw Normal View History

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