at 24.05-pre 38 lines 1.1 kB view raw
1{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, bison, flex }: 2 3stdenv.mkDerivation rec { 4 pname = "libcue"; 5 version = "2.2.1"; 6 7 src = fetchFromGitHub { 8 owner = "lipnitsk"; 9 repo = "libcue"; 10 rev = "v${version}"; 11 sha256 = "1iqw4n01rv2jyk9lksagyxj8ml0kcfwk67n79zy1r6zv1xfp5ywm"; 12 }; 13 14 patches = [ 15 (fetchpatch { 16 name = "CVE-2023-43641.patch"; 17 url = "https://github.com/lipnitsk/libcue/commit/fdf72c8bded8d24cfa0608b8e97f2eed210a920e.patch"; 18 hash = "sha256-NjnSMUfman/SwLFWDIhtz2jCOLfpXGGGjO3QwRGURNg="; 19 }) 20 ]; 21 22 nativeBuildInputs = [ cmake bison flex ]; 23 24 doCheck = false; # fails all the tests (ctest) 25 26 meta = with lib; { 27 description = "CUE Sheet Parser Library"; 28 longDescription = '' 29 libcue is intended to parse a so called cue sheet from a char string or 30 a file pointer. For handling of the parsed data a convenient API is 31 available. 32 ''; 33 homepage = "https://github.com/lipnitsk/libcue"; 34 license = licenses.gpl2Only; 35 maintainers = with maintainers; [ astsmtl ]; 36 platforms = platforms.unix; 37 }; 38}