nixpkgs/pkgs/by-name/sa/satellite/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

58 lines
1.2 KiB
Nix

{ lib
, python3
, fetchFromGitea
, gobject-introspection
, gtk3
, libhandy
, modemmanager
, wrapGAppsHook3
}:
python3.pkgs.buildPythonApplication rec {
pname = "satellite";
version = "0.4.3";
pyproject = true;
src = fetchFromGitea {
domain ="codeberg.org";
owner = "tpikonen";
repo = "satellite";
rev = version;
hash = "sha256-4L6zbHjWAIJJv2N3XKcfHSZUAUC2FPjK5hT9XGBtQ3w=";
};
nativeBuildInputs = [
gobject-introspection
python3.pkgs.setuptools
wrapGAppsHook3
];
buildInputs = [
gtk3
libhandy
modemmanager
];
propagatedBuildInputs = with python3.pkgs; [
gpxpy
pygobject3
pynmea2
];
strictDeps = true;
meta = with lib; {
description = "Program for showing navigation satellite data";
longDescription = ''
Satellite is an adaptive GTK3 / libhandy application which displays global navigation satellite system (GNSS: GPS et al.) data obtained from ModemManager or gnss-share.
It can also save your position to a GPX-file.
'';
homepage = "https://codeberg.org/tpikonen/satellite";
license = licenses.gpl3Only;
mainProgram = "satellite";
platforms = platforms.linux;
maintainers = with maintainers; [ Luflosi ];
};
}