btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / li / libcue / package.nix
blobec7f1ba26ab1eff19282ae09b77bb6c163944562
1 { lib, stdenv, fetchFromGitHub, cmake, bison, flex }:
3 stdenv.mkDerivation rec {
4   pname = "libcue";
5   version = "2.3.0";
7   src = fetchFromGitHub {
8     owner = "lipnitsk";
9     repo = "libcue";
10     rev = "v${version}";
11     hash = "sha256-ZMUUa8CmpFNparPsM/P2yvRto9E85EdTxpID5sKQbNI=";
12   };
14   nativeBuildInputs = [ cmake bison flex ];
16   doCheck = true;
18   meta = with lib; {
19     description = "CUE Sheet Parser Library";
20     longDescription = ''
21       libcue is intended to parse a so called cue sheet from a char string or
22       a file pointer. For handling of the parsed data a convenient API is
23       available.
24     '';
25     homepage = "https://github.com/lipnitsk/libcue";
26     license = licenses.gpl2Only;
27     maintainers = with maintainers; [ astsmtl ];
28     platforms = platforms.unix;
29   };