diff options
author | Nick Cao <nickcao@nichi.co> | 2024-06-16 10:09:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-16 10:09:27 -0400 |
commit | 01ec9b0e42d9e38d3439b0ad7bd5e2a1d4c0475f (patch) | |
tree | b0d3756518c6f063886bd88448afd7823527aa0d /pkgs/applications/misc | |
parent | c493b7dd0ea0751455ff564e5c5240c7338cba06 (diff) | |
parent | d6b58fc849a19d706d6dc955531a92f4a903cca9 (diff) |
Merge pull request #320078 from LudovicoPiero/bump-nwg-panel
nwg-panel: 0.9.32 -> 0.9.34; move to pkgs/by-name
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/nwg-panel/default.nix | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/pkgs/applications/misc/nwg-panel/default.nix b/pkgs/applications/misc/nwg-panel/default.nix deleted file mode 100644 index c7091b00c7dc5..0000000000000 --- a/pkgs/applications/misc/nwg-panel/default.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ lib, fetchFromGitHub -, python3Packages, wrapGAppsHook3, gobject-introspection -, gtk-layer-shell, pango, gdk-pixbuf, atk -# Extra packages called by various internal nwg-panel modules -, hyprland # hyprctl -, sway # swaylock, swaymsg -, systemd # systemctl -, wlr-randr # wlr-randr -, nwg-menu # nwg-menu -, brightnessctl # brightnessctl -, pamixer # pamixer -, pulseaudio # pactl -, libdbusmenu-gtk3 # tray -, playerctl -}: - -python3Packages.buildPythonApplication rec { - pname = "nwg-panel"; - version = "0.9.32"; - - src = fetchFromGitHub { - owner = "nwg-piotr"; - repo = "nwg-panel"; - rev = "refs/tags/v${version}"; - hash = "sha256-7UROYXmDDWW/NFmKy3h1PfkQGB74DogcgTQXGXojY4U="; - }; - - # No tests - doCheck = false; - - # Because of wrapGAppsHook3 - strictDeps = false; - dontWrapGApps = true; - - buildInputs = [ atk gdk-pixbuf gtk-layer-shell pango playerctl ]; - nativeBuildInputs = [ wrapGAppsHook3 gobject-introspection ]; - propagatedBuildInputs = (with python3Packages; - [ i3ipc netifaces psutil pybluez pygobject3 requests dasbus setuptools ]) - # Run-time GTK dependency required by the Tray module - ++ [ libdbusmenu-gtk3 ]; - - postInstall = '' - mkdir -p $out/share/{applications,pixmaps} - cp $src/nwg-panel-config.desktop nwg-processes.desktop $out/share/applications/ - cp $src/nwg-shell.svg $src/nwg-panel.svg nwg-processes.svg $out/share/pixmaps/ - ''; - - preFixup = '' - makeWrapperArgs+=( - "''${gappsWrapperArgs[@]}" - --prefix XDG_DATA_DIRS : "$out/share" - --prefix PATH : "${lib.makeBinPath [ brightnessctl hyprland nwg-menu pamixer pulseaudio sway systemd wlr-randr ]}" - ) - ''; - - meta = with lib; { - homepage = "https://github.com/nwg-piotr/nwg-panel"; - description = "GTK3-based panel for Sway window manager"; - license = licenses.mit; - platforms = platforms.linux; - maintainers = with maintainers; [ ludovicopiero ]; - mainProgram = "nwg-panel"; - }; -} |