nixpkgs/pkgs/development/libraries/libcue/default.nix
2017-08-03 11:56:15 +02:00

29 lines
815 B
Nix

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