about summary refs log tree commit diff
path: root/pkgs/development/libraries/libcue/default.nix
blob: 22bda89c60307d04db4a84b310093cfb0837e50d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchFromGitHub, cmake, bison, flex }:

stdenv.mkDerivation rec {
  name = "libcue-${version}";
  version = "2.1.0";

  src = fetchFromGitHub {
    owner = "lipnitsk";
    repo = "libcue";
    rev = "v${version}";
    sha256 = "14a84d6sq3yp8s8i05lxvifjpkgpjwfpchrqf3bbpbwa8gvrc0rj";
  };

  nativeBuildInputs = [ cmake bison flex ];

  meta = with stdenv.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 = http://sourceforge.net/projects/libcue/;
    license = licenses.gpl2;
    maintainers = with maintainers; [ astsmtl ];
    platforms = platforms.linux ++ platforms.darwin;
  };
}