mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
11e5444ba5
Builds fine for FreeBSD and NetBSD.
31 lines
832 B
Nix
31 lines
832 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, bison, flex }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libcue";
|
|
version = "2.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lipnitsk";
|
|
repo = "libcue";
|
|
rev = "v${version}";
|
|
sha256 = "1iqw4n01rv2jyk9lksagyxj8ml0kcfwk67n79zy1r6zv1xfp5ywm";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake bison flex ];
|
|
|
|
doCheck = false; # fails all the tests (ctest)
|
|
|
|
meta = with lib; {
|
|
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://github.com/lipnitsk/libcue";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ astsmtl ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|