22 stdenv.mkDerivation (finalAttrs: {
23 pname = "glycin-loaders";
27 url = "mirror://gnome/sources/glycin-loaders/${lib.versions.majorMinor finalAttrs.version}/glycin-loaders-${finalAttrs.version}.tar.xz";
28 hash = "sha256-0PAiRi/1VYVuheqUBHRHC7NrN8n/y8umOgP+XpVDcM8=";
32 # Fix paths in glycin library.
33 # Not actually needed for this package since we are only building loaders
34 # and this patch is relevant just to apps that use the loaders
35 # but apply it here to ensure the patch continues to apply.
36 finalAttrs.passthru.glycinPathsPatch
46 rustPlatform.bindgenHook # for libheif-sys
53 libxml2 # for librsvg crate
59 updateScript = gnome.updateScript {
60 packageName = "glycin-loaders";
63 glycinPathsPatch = substituteAll {
64 src = ./fix-glycin-paths.patch;
65 bwrap = "${bubblewrap}/bin/bwrap";
70 description = "Glycin loaders for several formats";
71 homepage = "https://gitlab.gnome.org/sophie-h/glycin";
72 maintainers = teams.gnome.members;
73 license = with licenses; [ mpl20 /* or */ lgpl21Plus ];
74 platforms = platforms.linux;