2016-10-13 01:11:25 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, bison, flex }:
|
2017-01-24 21:46:17 +00:00
|
|
|
|
2010-04-18 19:12:07 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-10-13 01:11:25 +00:00
|
|
|
name = "libcue-${version}";
|
2018-02-27 04:16:53 +00:00
|
|
|
version = "2.2.0";
|
2016-10-13 01:11:25 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lipnitsk";
|
|
|
|
repo = "libcue";
|
|
|
|
rev = "v${version}";
|
2018-02-27 04:16:53 +00:00
|
|
|
sha256 = "0znn9scamy1nsz1dzvsamqg46zr7ldfvpxiyzi1ss9d6gbcm0frs";
|
2010-04-18 19:12:07 +00:00
|
|
|
};
|
2016-10-13 01:11:25 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake bison flex ];
|
|
|
|
|
2017-01-24 21:46:17 +00:00
|
|
|
meta = with stdenv.lib; {
|
2016-10-13 01:11:25 +00:00
|
|
|
description = "CUE Sheet Parser Library";
|
2010-04-18 19:12:07 +00: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 21:50:51 +00:00
|
|
|
homepage = https://sourceforge.net/projects/libcue/;
|
2017-01-24 21:46:17 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ astsmtl ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2010-04-18 19:12:07 +00:00
|
|
|
};
|
|
|
|
}
|