Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, fetchFromGitHub, cmake, bison, flex }:
2
3stdenv.mkDerivation rec {
4 name = "libcue-${version}";
5 version = "2.1.0";
6
7 src = fetchFromGitHub {
8 owner = "lipnitsk";
9 repo = "libcue";
10 rev = "v${version}";
11 sha256 = "14a84d6sq3yp8s8i05lxvifjpkgpjwfpchrqf3bbpbwa8gvrc0rj";
12 };
13
14 nativeBuildInputs = [ cmake bison flex ];
15
16 meta = with stdenv.lib; {
17 description = "CUE Sheet Parser Library";
18 longDescription = ''
19 libcue is intended to parse a so called cue sheet from a char string or
20 a file pointer. For handling of the parsed data a convenient API is
21 available.
22 '';
23 homepage = https://sourceforge.net/projects/libcue/;
24 license = licenses.gpl2;
25 maintainers = with maintainers; [ astsmtl ];
26 platforms = platforms.linux ++ platforms.darwin;
27 };
28}