qmapshack: 1.17.1 → 1.18.0
This commit is contained in:
parent
963a898a33
commit
1476084815
@ -3,39 +3,44 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
cmake,
|
cmake,
|
||||||
libsForQt5,
|
qt6,
|
||||||
|
qt6Packages,
|
||||||
|
alglib,
|
||||||
gdal,
|
gdal,
|
||||||
proj,
|
proj,
|
||||||
routino,
|
routino,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "qmapshack";
|
pname = "qmapshack";
|
||||||
version = "1.17.1";
|
version = "1.18.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Maproom";
|
owner = "Maproom";
|
||||||
repo = "qmapshack";
|
repo = "qmapshack";
|
||||||
rev = "V_${version}";
|
tag = "V_${finalAttrs.version}";
|
||||||
hash = "sha256-wqztKmaUxY3qd7IgPM7kV7x0BsrTMTX3DbcdM+lsarI=";
|
hash = "sha256-+M76EZeZOsBQ7RXtVplsrbrDgU0plRAht4/jz/GpIhM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
libsForQt5.wrapQtAppsHook
|
qt6.qttools
|
||||||
|
qt6.wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libsForQt5.qtscript
|
alglib
|
||||||
libsForQt5.qtwebengine
|
|
||||||
gdal
|
gdal
|
||||||
proj
|
proj
|
||||||
routino
|
routino
|
||||||
libsForQt5.quazip
|
qt6.qtwebengine
|
||||||
|
qt6Packages.quazip
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DROUTINO_XML_PATH=${routino}/share/routino"
|
(lib.cmakeFeature "ALGLIB_INCLUDE_DIRS" "${alglib}/include/alglib")
|
||||||
|
(lib.cmakeFeature "ALGLIB_LIBRARIES" "alglib3")
|
||||||
|
(lib.cmakeFeature "ROUTINO_XML_PATH" "${routino}/share/routino")
|
||||||
];
|
];
|
||||||
|
|
||||||
qtWrapperArgs = [
|
qtWrapperArgs = [
|
||||||
@ -50,12 +55,12 @@ stdenv.mkDerivation rec {
|
|||||||
meta = {
|
meta = {
|
||||||
description = "Consumer grade GIS software";
|
description = "Consumer grade GIS software";
|
||||||
homepage = "https://github.com/Maproom/qmapshack";
|
homepage = "https://github.com/Maproom/qmapshack";
|
||||||
changelog = "https://github.com/Maproom/qmapshack/blob/V_${version}/changelog.txt";
|
changelog = "https://github.com/Maproom/qmapshack/blob/V_${finalAttrs.version}/changelog.txt";
|
||||||
license = lib.licenses.gpl3Plus;
|
license = lib.licenses.gpl3Plus;
|
||||||
maintainers = with lib.maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
dotlambda
|
dotlambda
|
||||||
sikmir
|
sikmir
|
||||||
];
|
];
|
||||||
platforms = with lib.platforms; linux;
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user