diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2024-02-26 12:30:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-26 12:30:03 +0100 |
commit | 4a88868ea6a88a1c3119853e5ddfb4d1a54300fe (patch) | |
tree | a3bbbc02af718448d47420595ce17b5f067e4ba4 | |
parent | 94cf4ea2ee3516607ff46f94bccd9b5a39c53b7a (diff) | |
parent | 6b9d8372d96daed7c924a2ae4d75b09dfa452198 (diff) | |
download | nixlib-4a88868ea6a88a1c3119853e5ddfb4d1a54300fe.tar nixlib-4a88868ea6a88a1c3119853e5ddfb4d1a54300fe.tar.gz nixlib-4a88868ea6a88a1c3119853e5ddfb4d1a54300fe.tar.bz2 nixlib-4a88868ea6a88a1c3119853e5ddfb4d1a54300fe.tar.lz nixlib-4a88868ea6a88a1c3119853e5ddfb4d1a54300fe.tar.xz nixlib-4a88868ea6a88a1c3119853e5ddfb4d1a54300fe.tar.zst nixlib-4a88868ea6a88a1c3119853e5ddfb4d1a54300fe.zip |
Merge pull request #289156 from Luflosi/add/satellite
-rw-r--r-- | pkgs/by-name/sa/satellite/package.nix | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/pkgs/by-name/sa/satellite/package.nix b/pkgs/by-name/sa/satellite/package.nix new file mode 100644 index 000000000000..e1ab6b934c3b --- /dev/null +++ b/pkgs/by-name/sa/satellite/package.nix @@ -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 ]; + }; +} |