mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 15:04:44 +00:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
58 lines
1.2 KiB
Nix
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 = "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 ];
|
|
};
|
|
}
|