nixpkgs/pkgs/development/libraries/libcue/default.nix

31 lines
857 B
Nix
Raw Normal View History

2016-10-13 02:11:25 +01:00
{ stdenv, fetchFromGitHub, cmake, bison, flex }:
2017-01-24 21:46:17 +00:00
stdenv.mkDerivation rec {
pname = "libcue";
version = "2.2.1";
2016-10-13 02:11:25 +01:00
src = fetchFromGitHub {
owner = "lipnitsk";
repo = "libcue";
rev = "v${version}";
sha256 = "1iqw4n01rv2jyk9lksagyxj8ml0kcfwk67n79zy1r6zv1xfp5ywm";
};
2016-10-13 02:11:25 +01:00
nativeBuildInputs = [ cmake bison flex ];
doCheck = false; # fails all the tests (ctest)
2017-01-24 21:46:17 +00:00
meta = with stdenv.lib; {
2016-10-13 02:11:25 +01:00
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/";
2017-01-24 21:46:17 +00:00
license = licenses.gpl2;
maintainers = with maintainers; [ astsmtl ];
platforms = platforms.linux ++ platforms.darwin;
};
}