Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

67 lines
1.4 KiB
Nix

{
lib,
mkDerivation,
fetchFromGitHub,
cmake,
qttools,
kirigami2,
qtquickcontrols2,
qtlocation,
qtsensors,
nemo-qml-plugin-dbus,
mapbox-gl-qml,
s2geometry,
python3,
pyotherside,
}:
mkDerivation rec {
pname = "pure-maps";
version = "3.4.1";
src = fetchFromGitHub {
owner = "rinigus";
repo = "pure-maps";
rev = version;
hash = "sha256-Xh4TRc4B/rm2+S8ej/instfkO3271f0HPuqVJYGtCSM=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
python3
qttools
python3.pkgs.wrapPython
];
buildInputs = [
kirigami2
qtquickcontrols2
qtlocation
qtsensors
nemo-qml-plugin-dbus
pyotherside
mapbox-gl-qml
s2geometry
];
cmakeFlags = [ "-DFLAVOR=kirigami" ];
pythonPath = with python3.pkgs; [ gpxpy ];
preInstall = ''
buildPythonPath "$pythonPath"
qtWrapperArgs+=(--prefix PYTHONPATH : "$program_PYTHONPATH")
'';
meta = with lib; {
description = "Display vector and raster maps, places, routes, and provide navigation instructions with a flexible selection of data and service providers";
mainProgram = "pure-maps";
homepage = "https://github.com/rinigus/pure-maps";
changelog = "https://github.com/rinigus/pure-maps/blob/${src.rev}/NEWS.md";
license = licenses.gpl3Only;
maintainers = [ maintainers.Thra11 ];
platforms = platforms.linux;
};
}