Merge pull request #261093 from LeSuisse/libcue-2.3.0

libcue: 2.2.1 -> 2.3.0
This commit is contained in:
Robert Scott 2023-12-03 18:55:52 +00:00 committed by GitHub
commit b26e132e79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,27 +1,19 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, bison, flex }:
{ lib, stdenv, fetchFromGitHub, cmake, bison, flex }:
stdenv.mkDerivation rec {
pname = "libcue";
version = "2.2.1";
version = "2.3.0";
src = fetchFromGitHub {
owner = "lipnitsk";
repo = "libcue";
rev = "v${version}";
sha256 = "1iqw4n01rv2jyk9lksagyxj8ml0kcfwk67n79zy1r6zv1xfp5ywm";
hash = "sha256-ZMUUa8CmpFNparPsM/P2yvRto9E85EdTxpID5sKQbNI=";
};
patches = [
(fetchpatch {
name = "CVE-2023-43641.patch";
url = "https://github.com/lipnitsk/libcue/commit/fdf72c8bded8d24cfa0608b8e97f2eed210a920e.patch";
hash = "sha256-NjnSMUfman/SwLFWDIhtz2jCOLfpXGGGjO3QwRGURNg=";
})
];
nativeBuildInputs = [ cmake bison flex ];
doCheck = false; # fails all the tests (ctest)
doCheck = true;
meta = with lib; {
description = "CUE Sheet Parser Library";