mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 01:54:34 +00:00
![Jan Tojnar](/assets/img/avatar_default.png)
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)
75 lines
1.4 KiB
Nix
75 lines
1.4 KiB
Nix
{ lib
|
|
, buildNpmPackage
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, gobject-introspection
|
|
, gjs
|
|
, glib-networking
|
|
, gnome
|
|
, gtk-layer-shell
|
|
, libpulseaudio
|
|
, libsoup_3
|
|
, networkmanager
|
|
, upower
|
|
, typescript
|
|
, wrapGAppsHook3
|
|
, linux-pam
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "ags";
|
|
version = "1.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Aylur";
|
|
repo = "ags";
|
|
rev = "v${version}";
|
|
hash = "sha256-+0us1/lawDXp6RXn4ev95a99VgpsVPi2A4jwNS2O1Uo=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
npmDepsHash = "sha256-ucWdADdMqAdLXQYKGOXHNRNM9bhjKX4vkMcQ8q/GZ20=";
|
|
|
|
mesonFlags = [
|
|
(lib.mesonBool "build_types" true)
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
gjs
|
|
gobject-introspection
|
|
typescript
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
# Most of the build inputs here are basically needed for their typelibs.
|
|
buildInputs = [
|
|
gjs
|
|
glib-networking
|
|
gnome.gnome-bluetooth
|
|
gtk-layer-shell
|
|
libpulseaudio
|
|
libsoup_3
|
|
linux-pam
|
|
networkmanager
|
|
upower
|
|
];
|
|
|
|
postPatch = ''
|
|
chmod u+x ./post_install.sh && patchShebangs ./post_install.sh
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/Aylur/ags";
|
|
description = "A EWW-inspired widget system as a GJS library";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ foo-dogsquared ];
|
|
mainProgram = "ags";
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|