mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
loupe: 45.beta.1 → 45.0
https://gitlab.gnome.org/GNOME/loupe/-/compare/45.beta.1...45.0 cargo and meson changes look okay. Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com> Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
parent
717bd82dd7
commit
078d0a0ffa
@ -22,11 +22,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "loupe";
|
||||
version = "45.beta.1";
|
||||
version = "45.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/loupe/${lib.versions.major version}/loupe-${version}.tar.xz";
|
||||
hash = "sha256-uCvnrFgGksbPVjtX/+2X5KzlRYWzH9M0BKQGplB3Rr8=";
|
||||
hash = "sha256-TWSP47a/6lUpmGWW1qRQp205fx3wqNju3s8BBAYiFHE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -62,11 +62,6 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Nothing is installed to $datadir/glib-2.0/schemas.
|
||||
# https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/280
|
||||
substituteInPlace meson.build --replace \
|
||||
"glib_compile_schemas: true," "glib_compile_schemas: false,"
|
||||
|
||||
# Replace hash of file we patch in vendored glycin.
|
||||
jq \
|
||||
--arg hash "$(sha256sum vendor/glycin/src/dbus.rs | cut -d' ' -f 1)" \
|
||||
|
Loading…
Reference in New Issue
Block a user