mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01: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)
67 lines
1.2 KiB
Nix
67 lines
1.2 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, vala
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, desktop-file-utils
|
|
, appstream
|
|
, python3
|
|
, shared-mime-info
|
|
, wrapGAppsHook3
|
|
, gtk3
|
|
, pantheon
|
|
, libgee
|
|
, libhandy
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "gnonograms";
|
|
version = "2.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jeremypw";
|
|
repo = "gnonograms";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-TkEVjrwlr4Q5FsfcdY+9fxwaMq+DFs0RwGI2E+GT5Mk=";
|
|
};
|
|
|
|
postPatch = ''
|
|
patchShebangs meson/post_install.py
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
vala
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
desktop-file-utils
|
|
appstream
|
|
python3
|
|
shared-mime-info
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
pantheon.granite
|
|
libgee
|
|
libhandy
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Nonograms puzzle game";
|
|
mainProgram = "com.github.jeremypw.gnonograms";
|
|
longDescription = ''
|
|
An implementation of the Japanese logic puzzle "Nonograms" written in
|
|
Vala, allowing the user to:
|
|
* Draw puzzles
|
|
* Generate random puzzles of chosen difficulty
|
|
'';
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ fgaz ];
|
|
homepage = "https://github.com/jeremypw/gnonograms";
|
|
platforms = platforms.all;
|
|
};
|
|
})
|