Merge pull request #276245 from trofi/libraw-update

libraw: 0.21.1 -> 0.21.2
This commit is contained in:
Mario Rodas 2024-01-06 08:05:20 -05:00 committed by GitHub
commit fa35ea9477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,6 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, autoreconfHook , autoreconfHook
, lcms2 , lcms2
, pkg-config , pkg-config
@ -16,23 +15,15 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libraw"; pname = "libraw";
version = "0.21.1"; version = "0.21.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "LibRaw"; owner = "LibRaw";
repo = "LibRaw"; repo = "LibRaw";
rev = version; rev = version;
sha256 = "sha256-K9mULf6V/TCl5Vu4iuIdSGF9HzQlgNQLRFHIpNbmAlY"; hash = "sha256-p9CmOCulvV7+KKn1lXwpcysOo0+mD5UgPqy2ki0cIFE=";
}; };
patches = [
(fetchpatch {
name = "CVE-2023-1729.patch";
url = "https://github.com/LibRaw/LibRaw/commit/9ab70f6dca19229cb5caad7cc31af4e7501bac93.patch";
hash = "sha256-OAyqphxvtSM15NI77HwtGTmTmP9YNu3xhZ6D1CceJ7I=";
})
];
outputs = [ "out" "lib" "dev" "doc" ]; outputs = [ "out" "lib" "dev" "doc" ];
propagatedBuildInputs = [ lcms2 ]; propagatedBuildInputs = [ lcms2 ];