Merge pull request #289156 from Luflosi/add/satellite
This commit is contained in:
commit
4a88868ea6
1 changed files with 57 additions and 0 deletions
57
pkgs/by-name/sa/satellite/package.nix
Normal file
57
pkgs/by-name/sa/satellite/package.nix
Normal file
|
@ -0,0 +1,57 @@
|
|||
{ lib
|
||||
, python3
|
||||
, fetchFromGitea
|
||||
, gobject-introspection
|
||||
, gtk3
|
||||
, libhandy
|
||||
, modemmanager
|
||||
, wrapGAppsHook
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "satellite";
|
||||
version = "0.4.2";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain ="codeberg.org";
|
||||
owner = "tpikonen";
|
||||
repo = "satellite";
|
||||
rev = version;
|
||||
hash = "sha256-VPljvbHsPpBvH//LFs1P0YiyMfQxTLHrrxqnVk261hg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gobject-introspection
|
||||
python3.pkgs.setuptools
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
libhandy
|
||||
modemmanager
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
gpxpy
|
||||
pygobject3
|
||||
pynmea2
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue