libcue: 2.2.1 -> 2.3.0

https://github.com/lipnitsk/libcue/releases/tag/v2.3.0
This commit is contained in:
Thomas Gerbet
2023-10-14 18:19:42 +02:00
parent 3004751e3a
commit ad1a442fbd
+4 -12
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";