571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
28 lines
1001 B
Nix
28 lines
1001 B
Nix
{ buildGoModule, fetchFromGitLab, lib }:
|
|
buildGoModule rec {
|
|
pname = "gnss-share";
|
|
version = "0.8.1";
|
|
src = fetchFromGitLab {
|
|
owner = "postmarketOS";
|
|
repo = "gnss-share";
|
|
rev = version;
|
|
hash = "sha256-4X1oiQWn2oZPw/14hNyZ0a6FEwoykotBisY6lk6lj2k=";
|
|
};
|
|
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";
|
|
};
|
|
}
|