papers: 48.5 → 49.1
https://gitlab.gnome.org/GNOME/papers/-/compare/48.5...49.1 Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
ninja,
|
||||
pkg-config,
|
||||
appstream,
|
||||
blueprint-compiler,
|
||||
desktop-file-utils,
|
||||
gtk4,
|
||||
glib,
|
||||
@@ -40,7 +41,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "papers";
|
||||
version = "48.5";
|
||||
version = "49.1";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -50,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/papers/${lib.versions.major finalAttrs.version}/papers-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-DMjXLHHT2KqxvhCuGUGkzZLNHip+gwq3aA4sgt+xnAs=";
|
||||
hash = "sha256-SrI6Z4l73da+LWKYIQ//YCz+wPNWiLxb/ycDYLB4TCk=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
@@ -59,7 +60,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pname
|
||||
version
|
||||
;
|
||||
hash = "sha256-1HFecOTn84m9lT166HlmYjqP+KN/ZOTWW4ztigrpqNQ=";
|
||||
hash = "sha256-Pjhpo44Zau2z6aWEQEcIPy3aUYplwdF/XIkO/1Zl+kg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -74,6 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
wrapGAppsHook4
|
||||
yelp-tools
|
||||
cargo
|
||||
blueprint-compiler
|
||||
rustPlatform.cargoSetupHook
|
||||
];
|
||||
|
||||
@@ -112,7 +114,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
env.CARGO_BUILD_TARGET = stdenv.hostPlatform.rust.rustcTargetSpec;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace shell/src/meson.build --replace-fail \
|
||||
substituteInPlace shell/src/meson.build thumbnailer/meson.build --replace-fail \
|
||||
"meson.current_build_dir() / rust_target / meson.project_name()" \
|
||||
"meson.current_build_dir() / '${stdenv.hostPlatform.rust.cargoShortTarget}' / rust_target / meson.project_name()"
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user