18 stdenv.mkDerivation rec {
22 src = fetchFromGitHub {
26 hash = "sha256-/XPvy98Il4i8cDl9vH6f0/AZmiSqseSXnen7HfMqCDo=";
29 nativeBuildInputs = [ glib meson ninja pkg-config scdoc wrapGAppsHook3 ];
32 cairo pango gtk libnotify wayland glib hicolor-icon-theme
38 # TODO: https://github.com/NixOS/nixpkgs/issues/36468
39 "-Dc_args=-I${glib.dev}/include/gio-unix-2.0"
43 description = "Wayland native snapshot editing tool, inspired by Snappy on macOS";
44 homepage = "https://github.com/jtheoof/swappy";
45 license = licenses.mit;
46 mainProgram = "swappy";
47 maintainers = [ maintainers.matthiasbeyer ];
48 platforms = platforms.linux;