1{ lib, stdenv, fetchFromGitHub, 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 nativeBuildInputs = [ cmake bison flex ];
15
16 doCheck = false; # fails all the tests (ctest)
17
18 meta = with lib; {
19 description = "CUE Sheet Parser Library";
20 longDescription = ''
21 libcue is intended to parse a so called cue sheet from a char string or
22 a file pointer. For handling of the parsed data a convenient API is
23 available.
24 '';
25 homepage = "https://github.com/lipnitsk/libcue";
26 license = licenses.gpl2Only;
27 maintainers = with maintainers; [ astsmtl ];
28 platforms = platforms.unix;
29 };
30}