rawtherapee: 5.9 -> 5.10

New release from the 16th of February. See release notes on the official
website: https://www.rawtherapee.com/downloads/5.10/#news-relevant-to-package-maintainers

Noticeably:

- new exiv2 >= 0.24 dependency (nixpkgs currently distributes 0.28)
- avoid using Github releases as recommended in the release notes above
This commit is contained in:
Rémi Dupré 2024-02-21 20:50:22 +01:00
parent 7394735942
commit c890046bd2
No known key found for this signature in database
GPG Key ID: 7E40AB46381379CE

View File

@ -20,17 +20,21 @@
, librsvg
, libcanberra-gtk3
, gtk-mac-integration
, exiv2
}:
stdenv.mkDerivation rec {
pname = "rawtherapee";
version = "5.9";
version = "5.10";
src = fetchFromGitHub {
owner = "Beep6581";
repo = "RawTherapee";
rev = version;
hash = "sha256-kdctfjss/DHEcaSDPXcmT20wXTwkI8moRX/i/5wT5Hg=";
hash = "sha256-rIwwKNm7l7oPEt95sHyRj4aF3mtnvM4KAu8oVaIMwyE=";
# The developpers ask not to use the tarball from Github releases, see
# https://www.rawtherapee.com/downloads/5.10/#news-relevant-to-package-maintainers
forceFetchGit = true;
};
postPatch = ''
@ -61,6 +65,7 @@ stdenv.mkDerivation rec {
libsigcxx
lensfun
librsvg
exiv2
] ++ lib.optionals stdenv.isLinux [
libcanberra-gtk3
] ++ lib.optionals stdenv.isDarwin [