Skip to content

Commit 272951e

Browse files
authored
Merge papers: 47.0 -> 47.3 (#379765)
2 parents 5eca070 + 278f6f9 commit 272951e

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

pkgs/by-name/pa/papers/package.nix

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
lib,
33
stdenv,
44
fetchurl,
5-
fetchpatch,
65
meson,
76
ninja,
87
pkg-config,
@@ -35,12 +34,11 @@
3534
exempi,
3635
cargo,
3736
rustPlatform,
38-
rustfmt,
3937
}:
4038

4139
stdenv.mkDerivation (finalAttrs: {
4240
pname = "papers";
43-
version = "47.0";
41+
version = "47.3";
4442

4543
outputs = [
4644
"out"
@@ -50,18 +48,9 @@ stdenv.mkDerivation (finalAttrs: {
5048

5149
src = fetchurl {
5250
url = "mirror://gnome/sources/papers/${lib.versions.major finalAttrs.version}/papers-${finalAttrs.version}.tar.xz";
53-
hash = "sha256-z2nrCjcX/jVAEWFuL2Ajg4FP9Xt6nqzzBsZ25k2PZmY=";
51+
hash = "sha256-PlhTk+gef6D5r55U38hvYSa1w9hS6pDf3DumsHlSxKo=";
5452
};
5553

56-
# FIXME: remove in next version
57-
patches = [
58-
(fetchpatch {
59-
name = "fix-crash-when-drag-and-drop";
60-
url = "https://gitlab.gnome.org/GNOME/Incubator/papers/-/commit/455ad2aebe5e5d5a57a2f4defc6af054927eac73.patch";
61-
hash = "sha256-PeWlFhvM8UzUFRaK9k/9Txwgta/EiFnMRjHwld3O+cU=";
62-
})
63-
];
64-
6554
cargoRoot = "shell-rs";
6655

6756
cargoDeps = rustPlatform.fetchCargoVendor {
@@ -87,9 +76,6 @@ stdenv.mkDerivation (finalAttrs: {
8776
yelp-tools
8877
cargo
8978
rustPlatform.cargoSetupHook
90-
# FIXME: remove rustfmt in next version
91-
# https://gitlab.gnome.org/GNOME/Incubator/papers/-/commit/d0093c8c9cbacfbdafd70b6024982638b30a2591
92-
rustfmt
9379
];
9480

9581
buildInputs =
@@ -130,10 +116,6 @@ stdenv.mkDerivation (finalAttrs: {
130116
"-Dnautilus=false"
131117
];
132118

133-
env.NIX_CFLAGS_COMPILE = lib.optionalString (
134-
stdenv.cc.isClang && lib.versionAtLeast stdenv.cc.version "16"
135-
) "-Wno-error=incompatible-function-pointer-types";
136-
137119
postInstall = ''
138120
substituteInPlace $out/share/thumbnailers/papers.thumbnailer \
139121
--replace-fail '=papers-thumbnailer' "=$out/bin/papers-thumbnailer"

0 commit comments

Comments
 (0)