2023-10-14 17:19:42 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, bison, flex }:
|
2017-01-24 21:46:17 +00:00
|
|
|
|
2010-04-18 20:12:07 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libcue";
|
2023-10-14 17:19:42 +01:00
|
|
|
version = "2.3.0";
|
2016-10-13 02:11:25 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lipnitsk";
|
|
|
|
repo = "libcue";
|
|
|
|
rev = "v${version}";
|
2023-10-14 17:19:42 +01:00
|
|
|
hash = "sha256-ZMUUa8CmpFNparPsM/P2yvRto9E85EdTxpID5sKQbNI=";
|
2010-04-18 20:12:07 +01:00
|
|
|
};
|
2016-10-13 02:11:25 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake bison flex ];
|
|
|
|
|
2023-10-14 17:19:42 +01:00
|
|
|
doCheck = true;
|
2018-04-25 04:20:18 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-10-13 02:11:25 +01:00
|
|
|
description = "CUE Sheet Parser Library";
|
2010-04-18 20:12:07 +01: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.
|
|
|
|
'';
|
2023-01-17 18:06:25 +00:00
|
|
|
homepage = "https://github.com/lipnitsk/libcue";
|
2023-01-17 18:06:45 +00:00
|
|
|
license = licenses.gpl2Only;
|
2017-01-24 21:46:17 +00:00
|
|
|
maintainers = with maintainers; [ astsmtl ];
|
2023-01-17 18:06:59 +00:00
|
|
|
platforms = platforms.unix;
|
2010-04-18 20:12:07 +01:00
|
|
|
};
|
|
|
|
}
|