Unverified Commit 0c221e33 authored by Pascal Bach's avatar Pascal Bach Committed by GitHub
Browse files

Merge pull request #275956 from r-ryantm/auto-update/darktable

darktable: 4.4.2 -> 4.6.0
parents 3cbcb519 9270b0b4
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@
, ninja
, curl
, perl
, llvmPackages_13
, desktop-file-utils
, exiv2
, glib
@@ -57,17 +56,15 @@
}:

stdenv.mkDerivation rec {
  version = "4.4.2";
  version = "4.6.0";
  pname = "darktable";

  src = fetchurl {
    url = "https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz";
    sha256 = "c11d28434fdf2e9ce572b9b1f9bc4e64dcebf6148e25080b4c32eb51916cfa98";
    sha256 = "sha256-cksn4yBNGCLebcU+oJCmsc5V98MiJtNGQmiXdcaKrMI=";
  };

  nativeBuildInputs = [ cmake ninja llvmPackages_13.llvm pkg-config intltool perl desktop-file-utils wrapGAppsHook ]
    # LLVM Clang C compiler version 11.1.0 is too old and is unsupported. Version 12+ is required.
    ++ lib.optionals stdenv.isDarwin [ llvmPackages_13.clang ];
  nativeBuildInputs = [ cmake ninja llvmPackages.llvm pkg-config intltool perl desktop-file-utils wrapGAppsHook ];

  buildInputs = [
    cairo