2016-10-12 18:11:25 -07:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, bison, flex }:
|
2017-01-24 13:46:17 -08:00
|
|
|
|
2010-04-18 12:12:07 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "libcue";
|
2018-05-07 02:44:50 -07:00
|
|
|
version = "2.2.1";
|
2016-10-12 18:11:25 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lipnitsk";
|
|
|
|
repo = "libcue";
|
|
|
|
rev = "v${version}";
|
2018-05-07 02:44:50 -07:00
|
|
|
sha256 = "1iqw4n01rv2jyk9lksagyxj8ml0kcfwk67n79zy1r6zv1xfp5ywm";
|
2010-04-18 12:12:07 -07:00
|
|
|
};
|
2016-10-12 18:11:25 -07:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake bison flex ];
|
|
|
|
|
2018-04-24 20:20:18 -07:00
|
|
|
doCheck = false; # fails all the tests (ctest)
|
|
|
|
|
2017-01-24 13:46:17 -08:00
|
|
|
meta = with stdenv.lib; {
|
2016-10-12 18:11:25 -07:00
|
|
|
description = "CUE Sheet Parser Library";
|
2010-04-18 12:12:07 -07:00
|
|
|
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.
|
|
|
|
'';
|
2017-08-02 14:50:51 -07:00
|
|
|
homepage = https://sourceforge.net/projects/libcue/;
|
2017-01-24 13:46:17 -08:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ astsmtl ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2010-04-18 12:12:07 -07:00
|
|
|
};
|
|
|
|
}
|