diff options
author | Bobby Rong <rjl931189261@126.com> | 2023-09-18 13:49:07 +0000 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2023-11-21 08:42:17 +0100 |
commit | 2cea4367b1b13ef039ecb6a37e86d54fc4b31cc5 (patch) | |
tree | 1c164939c0d6aea8060a03f2e813828d828711b6 /pkgs/applications/graphics | |
parent | 2db508ddeeefbc2440e2199c3ff08c3d712c1a6f (diff) |
snapshot: 45.beta → 45.0
https://gitlab.gnome.org/GNOME/snapshot/-/compare/45.beta...45.0 Cargo.toml and meson.build change looks okay. Most changes came from running `cargo fmt`. Branding changed to Camera. Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com> Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/snapshot/default.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/snapshot/default.nix b/pkgs/applications/graphics/snapshot/default.nix index 943dda2938136..a47016e379daf 100644 --- a/pkgs/applications/graphics/snapshot/default.nix +++ b/pkgs/applications/graphics/snapshot/default.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchurl +, fetchpatch , cargo , desktop-file-utils , meson @@ -18,13 +19,22 @@ stdenv.mkDerivation rec { pname = "snapshot"; - version = "45.beta"; + version = "45.0"; src = fetchurl { url = "mirror://gnome/sources/snapshot/${lib.versions.major version}/snapshot-${version}.tar.xz"; - hash = "sha256-Dxi06QoLHxL5pqFh3zGBZ/n8zoxW7iWW+QNs21qfRvg="; + hash = "sha256-7keO4JBzGgsIJLZrsXRr2ADcv+h6yDWEmUSa85z822c="; }; + patches = [ + # Fix portal requests + # https://gitlab.gnome.org/GNOME/snapshot/-/merge_requests/168 + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/snapshot/-/commit/6aec0f56d6bb994731c1309ac6e2cb822b82067e.patch"; + hash = "sha256-6tnOhhTQ3Rfl3nCw/rliLKkvZknvZKCQyeMKaTxYmok="; + }) + ]; + nativeBuildInputs = [ cargo desktop-file-utils |