@@ -1,12 +1,19 @@
1−{ stdenv, fetchurl }:
1+{ stdenv, fetchFromGitHub, cmake, bison, flex }:
22stdenv.mkDerivation rec {
3− name = "libcue-1.4.0";
4− src = fetchurl {
5− url = "mirror://sourceforge/libcue/${name}.tar.bz2";
6− sha256 = "17kjd7rjz1bvfn44n3n2bjb7a1ywd0yc0g4sqp5ihf9b5bn7cwlb";
3+ name = "libcue-${version}";
4+ version = "2.1.0";
5+
6+ src = fetchFromGitHub {
7+ owner = "lipnitsk";
8+ repo = "libcue";
9+ rev = "v${version}";
10+ sha256 = "14a84d6sq3yp8s8i05lxvifjpkgpjwfpchrqf3bbpbwa8gvrc0rj";
711 };
12+
13+ nativeBuildInputs = [ cmake bison flex ];
14+
815 meta = {
9− description = "A library to parse a cue sheet";
16+ description = "CUE Sheet Parser Library";
1017 longDescription = ''
1118 libcue is intended to parse a so called cue sheet from a char string or
1219 a file pointer. For handling of the parsed data a convenient API is