diff --git a/pkgs/servers/gnss-share/default.nix b/pkgs/servers/gnss-share/default.nix new file mode 100644 index 000000000000..81efe84d1c4f --- /dev/null +++ b/pkgs/servers/gnss-share/default.nix @@ -0,0 +1,26 @@ +{ buildGoModule, fetchFromGitLab, lib }: +buildGoModule rec { + pname = "gnss-share"; + version = "0.6"; + src = fetchFromGitLab { + owner = "postmarketOS"; + repo = "gnss-share"; + rev = version; + hash = "sha256-vVmQlhzRISMBcYZh/9GQmOGzDgTzu2jSyIiEWdXPqOQ="; + }; + vendorHash = "sha256-hS/xSxZSMHP+qlvpJYV6EvXtWx9ESamJ8lOf926CqOw="; + meta = with lib; { + description = "share GNSS data between multiple clients"; + longDescription = '' + gnss-share is an app that facilitates sharing GNSS location data with multiple + clients, while providing a way to perform device-specific setup beforehand. For + some devices, it can also manage loading and storing A-GPS data. + + This is meant to replace things like gpsd, and gps-share, and work together + with geoclue* or other clients that support fetching NMEA location data over + sockets. + ''; + license = licenses.gpl3; + maintainers = with maintainers; [ balsoft ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cb6fd2f0c4d6..84007288e933 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -39153,4 +39153,6 @@ with pkgs; oversteer = callPackage ../applications/misc/oversteer { }; volantes-cursors = callPackage ../data/icons/volantes-cursors { }; + + gnss-share = callPackage ../servers/gnss-share { }; }