20 , gsettings-desktop-schemas
23 stdenv.mkDerivation rec {
24 pname = "gnome-screenshot";
28 url = "mirror://gnome/sources/gnome-screenshot/${lib.versions.major version}/gnome-screenshot-${version}.tar.xz";
29 hash = "sha256-Stt97JJkKPdCY9V5ZnPPFC5HILbnaPVGio0JM/mMlZc=";
33 # Fix build with meson 0.61
34 # https://gitlab.gnome.org/GNOME/gnome-screenshot/-/issues/186
36 url = "https://gitlab.gnome.org/GNOME/gnome-screenshot/-/commit/b60dad3c2536c17bd201f74ad8e40eb74385ed9f.patch";
37 hash = "sha256-Js83h/3xxcw2hsgjzGa5lAYFXVrt6MPhXOTh5dZTx/w=";
59 gsettings-desktop-schemas
65 chmod +x build-aux/postinstall.py # patchShebangs requires executable file
66 patchShebangs build-aux/postinstall.py
70 updateScript = gnome.updateScript {
71 packageName = "gnome-screenshot";
76 homepage = "https://gitlab.gnome.org/GNOME/gnome-screenshot";
77 description = "Utility used in the GNOME desktop environment for taking screenshots";
78 mainProgram = "gnome-screenshot";
79 maintainers = teams.gnome.members;
80 license = licenses.gpl2Plus;
81 platforms = platforms.linux;