Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
117 lines
2.0 KiB
Nix
117 lines
2.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
meson,
|
|
ninja,
|
|
adwaita-icon-theme,
|
|
gtk3,
|
|
libexif,
|
|
libgphoto2,
|
|
libwebp,
|
|
libsoup_3,
|
|
libxml2,
|
|
vala,
|
|
sqlite,
|
|
pkg-config,
|
|
gnome,
|
|
gst_all_1,
|
|
libgudev,
|
|
libraw,
|
|
glib,
|
|
glib-networking,
|
|
json-glib,
|
|
gcr,
|
|
libgee,
|
|
gexiv2,
|
|
gettext,
|
|
desktop-file-utils,
|
|
gdk-pixbuf,
|
|
librsvg,
|
|
wrapGAppsHook3,
|
|
gobject-introspection,
|
|
itstool,
|
|
libsecret,
|
|
libportal-gtk3,
|
|
gsettings-desktop-schemas,
|
|
libheif,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "shotwell";
|
|
version = "0.32.13";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/shotwell/${lib.versions.majorMinor finalAttrs.version}/shotwell-${finalAttrs.version}.tar.xz";
|
|
sha256 = "sha256-vdPoT2AuL8frQoQ8kKJes6pJ+y/7de21HbAb0pBdvR4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
vala
|
|
pkg-config
|
|
itstool
|
|
gettext
|
|
desktop-file-utils
|
|
wrapGAppsHook3
|
|
gobject-introspection
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
libexif
|
|
libgphoto2
|
|
libwebp
|
|
libsoup_3
|
|
libxml2
|
|
sqlite
|
|
gst_all_1.gstreamer
|
|
gst_all_1.gst-libav
|
|
gst_all_1.gst-plugins-base
|
|
gst_all_1.gst-plugins-good
|
|
libgee
|
|
libgudev
|
|
gexiv2
|
|
gsettings-desktop-schemas
|
|
libraw
|
|
json-glib
|
|
glib
|
|
glib-networking
|
|
gdk-pixbuf
|
|
librsvg
|
|
gcr
|
|
adwaita-icon-theme
|
|
libsecret
|
|
libportal-gtk3
|
|
];
|
|
|
|
postInstall = ''
|
|
# Pull in HEIF support.
|
|
# In postInstall to run before gappsWrapperArgsHook.
|
|
export GDK_PIXBUF_MODULE_FILE="${
|
|
gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
|
|
extraLoaders = [
|
|
libheif.out
|
|
];
|
|
}
|
|
}"
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = "shotwell";
|
|
versionPolicy = "odd-unstable";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Popular photo organizer for the GNOME desktop";
|
|
mainProgram = "shotwell";
|
|
homepage = "https://gitlab.gnome.org/GNOME/shotwell";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ bobby285271 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
})
|