mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 05:43:17 +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)
36 lines
955 B
Nix
36 lines
955 B
Nix
{ lib, stdenv, fetchbzr, gettext
|
|
, gtk2, wrapGAppsHook3, autoreconfHook, pkg-config
|
|
, libmikmod, librsvg, libcanberra-gtk2, hicolor-icon-theme }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gweled";
|
|
version = "unstable-2021-02-11";
|
|
|
|
src = fetchbzr {
|
|
url = "lp:gweled";
|
|
rev = "108";
|
|
sha256 = "sha256-rM4dgbYfSrVqZwi+xzKuEtmtjK3HVvqeutmni1vleLo=";
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
postPatch = ''
|
|
substituteInPlace configure.ac --replace "AM_GNU_GETTEXT_VERSION([0.19.8])" "AM_GNU_GETTEXT_VERSION([${gettext.version}])"
|
|
'';
|
|
|
|
nativeBuildInputs = [ wrapGAppsHook3 gettext autoreconfHook pkg-config ];
|
|
|
|
buildInputs = [ gtk2 libmikmod librsvg hicolor-icon-theme libcanberra-gtk2 ];
|
|
|
|
configureFlags = [ "--disable-setgid" ];
|
|
|
|
meta = with lib; {
|
|
description = "Bejeweled clone game";
|
|
mainProgram = "gweled";
|
|
homepage = "https://gweled.org";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = [ ];
|
|
};
|
|
}
|