30 lines
865 B
Nix
30 lines
865 B
Nix
{ stdenv, fetchFromGitHub, cmake, bison, flex }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libcue-${version}";
|
|
version = "2.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lipnitsk";
|
|
repo = "libcue";
|
|
rev = "v${version}";
|
|
sha256 = "1iqw4n01rv2jyk9lksagyxj8ml0kcfwk67n79zy1r6zv1xfp5ywm";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake bison flex ];
|
|
|
|
doCheck = false; # fails all the tests (ctest)
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "CUE Sheet Parser Library";
|
|
longDescription = ''
|
|
libcue is intended to parse a so called cue sheet from a char string or
|
|
a file pointer. For handling of the parsed data a convenient API is
|
|
available.
|
|
'';
|
|
homepage = https://sourceforge.net/projects/libcue/;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ astsmtl ];
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
};
|
|
}
|