nixpkgs/pkgs/servers/gnss-share/default.nix
2024-03-13 12:19:39 +00:00

27 lines
1,001 B
Nix

{ buildGoModule, fetchFromGitLab, lib }:
buildGoModule rec {
pname = "gnss-share";
version = "0.8.0";
src = fetchFromGitLab {
owner = "postmarketOS";
repo = "gnss-share";
rev = version;
hash = "sha256-XNKX7eIv3wKNWbVsa6w/ODDRiiBArpGNY0T/sHC5ItY=";
};
vendorHash = "sha256-dmE6hfKUqEr7BMNi/HMUOk4jDB0dPXEMkWQyWj6XpY4=";
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 ];
mainProgram = "gnss-share";
};
}