2016-10-13 04:11:25 +03:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, bison, flex }:
|
2017-01-25 00:46:17 +03:00
|
|
|
|
2010-04-18 23:12:07 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2016-10-13 04:11:25 +03:00
|
|
|
name = "libcue-${version}";
|
|
|
|
version = "2.1.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lipnitsk";
|
|
|
|
repo = "libcue";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "14a84d6sq3yp8s8i05lxvifjpkgpjwfpchrqf3bbpbwa8gvrc0rj";
|
2010-04-18 23:12:07 +04:00
|
|
|
};
|
2016-10-13 04:11:25 +03:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake bison flex ];
|
|
|
|
|
2017-01-25 00:46:17 +03:00
|
|
|
meta = with stdenv.lib; {
|
2016-10-13 04:11:25 +03:00
|
|
|
description = "CUE Sheet Parser Library";
|
2010-04-18 23:12:07 +04: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.
|
|
|
|
'';
|
|
|
|
homepage = http://sourceforge.net/projects/libcue/;
|
2017-01-25 00:46:17 +03:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ astsmtl ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2010-04-18 23:12:07 +04:00
|
|
|
};
|
|
|
|
}
|