File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 stdenv ,
44 fetchurl ,
5- fetchpatch ,
65 meson ,
76 ninja ,
87 pkg-config ,
3534 exempi ,
3635 cargo ,
3736 rustPlatform ,
38- rustfmt ,
3937} :
4038
4139stdenv . 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"
You can’t perform that action at this time.
0 commit comments