From e96fd6e6b76967f37fe90242bfaa377cda311f71 Mon Sep 17 00:00:00 2001 From: sohalt Date: Fri, 25 Sep 2020 01:05:03 +0200 Subject: [PATCH] zombietrackergps: init at 1.01 --- .../gis/zombietrackergps/default.nix | 57 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 59 insertions(+) create mode 100644 pkgs/applications/gis/zombietrackergps/default.nix diff --git a/pkgs/applications/gis/zombietrackergps/default.nix b/pkgs/applications/gis/zombietrackergps/default.nix new file mode 100644 index 00000000000..4db60e53ad2 --- /dev/null +++ b/pkgs/applications/gis/zombietrackergps/default.nix @@ -0,0 +1,57 @@ +{ mkDerivation +, lib +, fetchFromGitLab +, qmake +, qtbase +, qtcharts +, qtsvg +, marble +, qtwebengine +, ldutils +}: + +mkDerivation rec { + pname = "zombietrackergps"; + version = "1.01"; + + src = fetchFromGitLab { + owner = "ldutils-projects"; + repo = pname; + rev = "v_${version}"; + sha256 = "0h354ydbahy8rpkmzh5ym5bddbl6irjzklpcg6nbkv6apry84d48"; + }; + + buildInputs = [ + ldutils + qtbase + qtcharts + qtsvg + marble.dev + qtwebengine + ]; + + nativeBuildInputs = [ + qmake + ]; + + prePatch = '' + sed -ie "s,INCLUDEPATH += /usr/include/libldutils,INCLUDEPATH += ${ldutils}," ZombieTrackerGPS.pro + ''; + + preConfigure = '' + export LANG=en_US.UTF-8 + export INSTALL_ROOT=$out + ''; + + postConfigure = '' + substituteInPlace Makefile --replace '$(INSTALL_ROOT)' "" + ''; + + meta = with lib; { + description = "GPS track manager for Qt using KDE Marble maps"; + homepage = "https://gitlab.com/ldutils-projects/zombietrackergps"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ sohalt ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dbe77fb2be8..9a514492d06 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24647,6 +24647,8 @@ in inherit (darwin.apple_sdk.frameworks) CoreServices; }; + zombietrackergps = libsForQt514.callPackage ../applications/gis/zombietrackergps { }; + zoom-us = libsForQt514.callPackage ../applications/networking/instant-messengers/zoom-us { }; zotero = callPackage ../applications/office/zotero { };