Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkgs/by-name/im/immich-cli/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let
in
stdenv.mkDerivation rec {
pname = "immich-cli";
version = "2.2.86";
version = "2.2.89";
inherit (immich) src pnpmDeps;

postPatch = ''
Expand Down
12 changes: 4 additions & 8 deletions pkgs/by-name/im/immich/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}:
let
pnpm = pnpm_10;
version = "1.140.1";
version = "1.142.0";

esbuild' = buildPackages.esbuild.override {
buildGoModule =
Expand Down Expand Up @@ -108,14 +108,14 @@ let
owner = "immich-app";
repo = "immich";
tag = "v${version}";
hash = "sha256-Bo9wFP0u39aoaNjc8K4Im3HRGZR/TLrDB7+UDAhV1xA=";
hash = "sha256-0nStZuSnb8tJ0+Y247MHitmMURl8vTuPLAhUm+OHctE=";
};

pnpmDeps = pnpm.fetchDeps {
pname = "immich";
inherit version src;
fetcherVersion = 2;
hash = "sha256-DIcUKuU+ToRh/kSLcs4ZEHy7zhFir2nlbRx+/kMagrA=";
hash = "sha256-aYG5SpFZxhbz32YAdP39RYwn2GV+mFWhddd4IFuPuz8=";
};

web = stdenv.mkDerivation {
Expand Down Expand Up @@ -146,10 +146,6 @@ let
runHook postInstall
'';
};

vips' = vips.overrideAttrs (prev: {
mesonFlags = prev.mesonFlags ++ [ "-Dtiff=disabled" ];
});
in
stdenv.mkDerivation {
pname = "immich";
Expand Down Expand Up @@ -186,7 +182,7 @@ stdenv.mkDerivation {
pango
pixman
# Required for sharp
vips'
vips
];

env.SHARP_FORCE_GLOBAL_LIBVIPS = 1;
Expand Down
28 changes: 18 additions & 10 deletions pkgs/by-name/vi/vips/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

# Native build inputs
docbook-xsl-nons,
gi-docgen,
gobject-introspection,
gtk-doc,
meson,
ninja,
pkg-config,
Expand Down Expand Up @@ -52,7 +52,7 @@

stdenv.mkDerivation (finalAttrs: {
pname = "vips";
version = "8.16.1";
version = "8.17.1";

outputs = [
"bin"
Expand All @@ -66,14 +66,18 @@ stdenv.mkDerivation (finalAttrs: {
owner = "libvips";
repo = "libvips";
tag = "v${finalAttrs.version}";
hash = "sha256-F2ymfvqwuCtNtFIOLgXvqRWATSMaeV7EQKYyQalCNfc=";
hash = "sha256-Sc2BWdQIgL/dI0zfbEQVCs3+1QBrLE7BsE3uFHe9C/c=";
# Remove unicode file names which leads to different checksums on HFS+
# vs. other filesystems because of unicode normalisation.
postFetch = ''
rm -r $out/test/test-suite/images/
'';
};

postPatch = ''
patchShebangs .
'';

nativeBuildInputs = [
docbook-xsl-nons
gobject-introspection
Expand All @@ -82,7 +86,7 @@ stdenv.mkDerivation (finalAttrs: {
pkg-config
]
++ lib.optionals (!stdenv.hostPlatform.isDarwin && !stdenv.hostPlatform.isFreeBSD) [
gtk-doc
gi-docgen
];

buildInputs = [
Expand Down Expand Up @@ -128,10 +132,14 @@ stdenv.mkDerivation (finalAttrs: {
(lib.mesonEnable "introspection" withIntrospection)
]
++ lib.optional (!stdenv.hostPlatform.isDarwin && !stdenv.hostPlatform.isFreeBSD) (
lib.mesonBool "gtk_doc" true
lib.mesonBool "docs" true
)
++ lib.optional (imagemagick == null) (lib.mesonEnable "magick" false);

postFixup = ''
moveToOutput "share/doc" "$devdoc"
'';

passthru = {
tests = {
pkg-config = testers.hasPkgConfigModules {
Expand All @@ -145,25 +153,25 @@ stdenv.mkDerivation (finalAttrs: {
updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"v([0-9.]+)"
"^v([0-9.]+)$"
];
};
};

meta = with lib; {
meta = {
changelog = "https://github.com/libvips/libvips/blob/${finalAttrs.src.rev}/ChangeLog";
homepage = "https://www.libvips.org/";
description = "Image processing system for large images";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [
license = lib.licenses.lgpl2Plus;
maintainers = with lib.maintainers; [
kovirobi
anthonyroussel
];
pkgConfigModules = [
"vips"
"vips-cpp"
];
platforms = platforms.unix;
platforms = lib.platforms.unix;
mainProgram = "vips";
};
})
Loading