{ lib, python3Packages, fetchFromGitHub, meson, ninja, pkg-config, gobject-introspection, wrapGAppsHook4, desktop-file-utils, libadwaita, }: python3Packages.buildPythonApplication rec { pname = "plattenalbum"; version = "2.1.0"; pyproject = false; src = fetchFromGitHub { owner = "SoongNoonien"; repo = "plattenalbum"; rev = "v${version}"; hash = "sha256-vRBlShbNuPpL29huhzYSuUcMJmSLljO4nc6cSAp3NB4="; }; nativeBuildInputs = [ meson ninja pkg-config gobject-introspection wrapGAppsHook4 desktop-file-utils ]; buildInputs = [ libadwaita ]; dependencies = with python3Packages; [ pygobject3 mpd2 ]; dontWrapGApps = true; preFixup = '' makeWrapperArgs+=(''${gappsWrapperArgs[@]}) ''; meta = { description = "A client for the Music Player Daemon (originally named mpdevil)"; homepage = "https://github.com/SoongNoonien/plattenalbum"; changelog = "https://github.com/SoongNoonien/plattenalbum/releases/tag/v${version}"; license = with lib.licenses; [ gpl3Only cc0 ]; mainProgram = "plattenalbum"; maintainers = with lib.maintainers; [ aleksana ]; platforms = lib.platforms.linux; }; }