mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +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)
57 lines
1.0 KiB
Nix
57 lines
1.0 KiB
Nix
{ lib
|
|
, SDL2
|
|
, SDL2_image
|
|
, SDL2_ttf
|
|
, alsa-lib
|
|
, fetchFromGitHub
|
|
, glibmm
|
|
, gtk3
|
|
, libGL
|
|
, libGLU
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, python3
|
|
, sqlite
|
|
, stdenv
|
|
, wrapGAppsHook3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "linthesia";
|
|
version = "unstable-2023-05-23";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linthesia";
|
|
repo = "linthesia";
|
|
rev = "1f2701241f8865c2f5c14a97b81ae64884cf0396";
|
|
sha256 = "sha256-3uPcpDUGtAGW9q/u8Cn+0bNqikII1Y/a0PKARW/5nao=";
|
|
};
|
|
|
|
postPatch = ''
|
|
patchShebangs meson_post_install.py
|
|
'';
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config python3 wrapGAppsHook3 ];
|
|
buildInputs = [
|
|
libGL
|
|
libGLU
|
|
alsa-lib
|
|
glibmm
|
|
sqlite
|
|
SDL2
|
|
SDL2_ttf
|
|
SDL2_image
|
|
gtk3.out # icon cache
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A game of playing music using a MIDI keyboard following a MIDI file";
|
|
mainProgram = "linthesia";
|
|
inherit (src.meta) homepage;
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ ckie ];
|
|
};
|
|
}
|