nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit a3dd7e60620e89a1a96e60bdc3ab579efde921f7
parent eb8b092c6296d85545bf665f0210f95ec75e2a8f
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Tue, 30 Nov 2021 10:27:46 +0300

Add gpstk

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/gnss/gpstk/default.nix | 25+++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -189,6 +189,7 @@ lib.makeScope newScope ( ### GNSS + gpstk = callPackage ./gnss/gpstk { }; rtklib = callPackage ./gnss/rtklib { }; visualgps = libsForQt5.callPackage ./gnss/visualgps { }; diff --git a/pkgs/gnss/gpstk/default.nix b/pkgs/gnss/gpstk/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchFromGitHub, cmake }: + +stdenv.mkDerivation rec { + pname = "gpstk"; + version = "8.0.0"; + + src = fetchFromGitHub { + owner = "SGL-UT"; + repo = "GPSTk"; + rev = "v${version}"; + hash = "sha256-kauRkx7KjVFdjl3JPiCxeuuVGVJ69e87RZQhepRrsWY="; + }; + + nativeBuildInputs = [ cmake ]; + + cmakeFlags = [ "-DBUILD_EXT=ON" ]; + + meta = with lib; { + description = "Toolkit for developing GPS applications"; + inherit (src.meta) homepage; + license = licenses.lgpl3Plus; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}