1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

openorienteering-mapper: 0.8.4 -> 0.9.0

This commit is contained in:
Nikolay Korotkiy 2019-09-09 00:48:51 +03:00 committed by Jon
parent 9d6ae16734
commit f6b8a4d7ef

View file

@ -4,7 +4,7 @@
stdenv.mkDerivation rec {
pname = "OpenOrienteering-Mapper";
version = "0.8.4";
version = "0.9.0";
buildInputs = [ gdal qtbase qttools qtlocation qtimageformats
qtsensors clipper zlib proj doxygen cups];
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
owner = "OpenOrienteering";
repo = "mapper";
rev = "v${version}";
sha256 = "0rw34kp2vd1la97vnk9plwvis6lvyib2bvs7lgkhpnm4p5l7dp1g";
sha256 = "0wnxj2xf529941dwss6ygb1krfx18lzl6rf67060b0zndc7n6l8f";
};
cmakeFlags =
@ -40,9 +40,6 @@ stdenv.mkDerivation rec {
"-DMapper_PACKAGE_GDAL=0"
]);
# Needs to be available when proj_api.h gets evaluted by CPP
NIX_CFLAGS_COMPILE = [ "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" ];
postInstall =
stdenv.lib.optionalString stdenv.isDarwin ''
# Fixes "This application failed to start because it could not find or load the Qt
@ -60,6 +57,6 @@ stdenv.mkDerivation rec {
homepage = https://www.openorienteering.org/apps/mapper/;
license = licenses.gpl3;
platforms = with platforms; linux ++ darwin;
maintainers = with maintainers; [mpickering];
maintainers = with maintainers; [ mpickering sikmir ];
};
}