[Backport release-26.05] gpaste: 45.3 → 45.5 (#531510)

This commit is contained in:
Jan Tojnar
2026-07-11 16:28:54 +00:00
committed by GitHub

View File

@@ -20,11 +20,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "gpaste";
version = "45.3";
version = "45.5";
src = fetchurl {
url = "https://www.imagination-land.org/files/gpaste/GPaste-${finalAttrs.version}.tar.xz";
hash = "sha256-UU8pw7bqEwg2Vh7S6GTx8swI/2IhlwjQgkGNZCzoMwc=";
hash = "sha256-seoPqmec9F4/zwmLjpAOUBBIVvLbFRMVPZ3jcloRrZE=";
};
patches = [
@@ -36,10 +36,6 @@ stdenv.mkDerivation (finalAttrs: {
postPatch = ''
substituteInPlace src/libgpaste/gpaste/gpaste-settings.c \
--subst-var-by gschemasCompiled ${glib.makeSchemaPath (placeholder "out") "${finalAttrs.pname}-${finalAttrs.version}"}
substituteInPlace src/gnome-shell/metadata.json.in --replace-fail \
'"shell-version": [ "45", "46", "47", "48" ],' \
'"shell-version": [ "45", "46", "47", "48", "49" ],'
'';
nativeBuildInputs = [
@@ -90,5 +86,6 @@ stdenv.mkDerivation (finalAttrs: {
license = lib.licenses.bsd2;
platforms = lib.platforms.linux;
teams = [ lib.teams.gnome ];
maintainers = with lib.maintainers; [ fabiob ];
};
})