openorienteering-mapper: 0.9.4 → 0.9.5
This commit is contained in:
parent
f03cfcafbf
commit
0149eb8a42
|
@ -1,6 +1,7 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, mkDerivation
|
, mkDerivation
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, gdal
|
, gdal
|
||||||
, cmake
|
, cmake
|
||||||
|
@ -19,7 +20,7 @@
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "OpenOrienteering-Mapper";
|
pname = "OpenOrienteering-Mapper";
|
||||||
version = "0.9.4";
|
version = "0.9.5";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gdal
|
gdal
|
||||||
|
@ -38,14 +39,21 @@ mkDerivation rec {
|
||||||
owner = "OpenOrienteering";
|
owner = "OpenOrienteering";
|
||||||
repo = "mapper";
|
repo = "mapper";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "13k9dirqm74lknhr8w121zr1hjd9gm1y73cj4rrj98rx44dzmk7b";
|
sha256 = "1w8ikqpgi0ksrzjal5ihfaik4grc5v3gdnnv79j20xkr2p4yn1h5";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = (substituteAll {
|
patches = [
|
||||||
# See https://github.com/NixOS/nixpkgs/issues/86054
|
# https://github.com/NixOS/nixpkgs/issues/86054
|
||||||
src = ./fix-qttranslations-path.diff;
|
(substituteAll {
|
||||||
inherit qttranslations;
|
src = ./fix-qttranslations-path.diff;
|
||||||
});
|
inherit qttranslations;
|
||||||
|
})
|
||||||
|
# https://github.com/OpenOrienteering/mapper/pull/1907
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/OpenOrienteering/mapper/commit/bc52aa567e90a58d6963b44d5ae1909f3f841508.patch";
|
||||||
|
sha256 = "1bkckapzccn6k0ri6bgrr0nhis9498fnwj7b32s2ysym8zcg0355";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
# Building the manual and bundling licenses fails
|
# Building the manual and bundling licenses fails
|
||||||
|
@ -81,7 +89,8 @@ mkDerivation rec {
|
||||||
and provides a free alternative to the existing proprietary solution.
|
and provides a free alternative to the existing proprietary solution.
|
||||||
'';
|
'';
|
||||||
homepage = "https://www.openorienteering.org/apps/mapper/";
|
homepage = "https://www.openorienteering.org/apps/mapper/";
|
||||||
license = licenses.gpl3;
|
changelog = "https://github.com/OpenOrienteering/mapper/releases/tag/v${version}";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
platforms = with platforms; linux ++ darwin;
|
platforms = with platforms; linux ++ darwin;
|
||||||
maintainers = with maintainers; [ mpickering sikmir ];
|
maintainers = with maintainers; [ mpickering sikmir ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue