mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-06 04:27:27 +03:00
loupe: 45.3 → 46.0
https://gitlab.gnome.org/GNOME/loupe/-/compare/45.3...46.0 Changelog-Reviewed-By: Maxine Aubrey <max@ine.dev>
This commit is contained in:
parent
84d556cb74
commit
a520545bb5
@ -15,17 +15,18 @@
|
||||
, lcms2
|
||||
, libadwaita
|
||||
, libgweather
|
||||
, libseccomp
|
||||
, glycin-loaders
|
||||
, gnome
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "loupe";
|
||||
version = "45.3";
|
||||
version = "46.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/loupe/${lib.versions.major finalAttrs.version}/loupe-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-9l8tEgjQhatf+pmN1DyS/pUictTVm1HP7MEevf/KLYY=";
|
||||
hash = "sha256-BRqkXPCrNiCT+/kYYxQL5zfbV7yx93vB4Aq5clWiUr0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -51,13 +52,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
lcms2
|
||||
libadwaita
|
||||
libgweather
|
||||
libseccomp
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Replace hash of file we patch in vendored glycin.
|
||||
jq \
|
||||
--arg hash "$(sha256sum vendor/glycin/src/dbus.rs | cut -d' ' -f 1)" \
|
||||
'.files."src/dbus.rs" = $hash' \
|
||||
--arg hash "$(sha256sum vendor/glycin/src/sandbox.rs | cut -d' ' -f 1)" \
|
||||
'.files."src/sandbox.rs" = $hash' \
|
||||
vendor/glycin/.cargo-checksum.json \
|
||||
| sponge vendor/glycin/.cargo-checksum.json
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user