{ stdenv , fetchFromGitHub , nix-update-script , pantheon , pkgconfig , meson , ninja , vala , python3 , gtk3 , glib , granite , libgee , elementary-icon-theme , elementary-gtk-theme , gettext , wrapGAppsHook }: stdenv.mkDerivation rec { pname = "elementary-feedback"; version = "1.0"; repoName = "feedback"; src = fetchFromGitHub { owner = "elementary"; repo = repoName; rev = version; sha256 = "sha256-GkVnowqGXwnEgplT34Po/BKzC2F/IQE2kIw0SLSLhGU="; }; passthru = { updateScript = nix-update-script { attrPath = "pantheon.${pname}"; }; }; nativeBuildInputs = [ gettext meson ninja pkgconfig python3 vala wrapGAppsHook ]; buildInputs = [ elementary-icon-theme granite gtk3 elementary-gtk-theme libgee glib ]; postPatch = '' chmod +x meson/post_install.py patchShebangs meson/post_install.py ''; meta = with stdenv.lib; { description = "GitHub Issue Reporter designed for elementary OS"; homepage = "https://github.com/elementary/feedback"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = pantheon.maintainers; }; }