about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libcue
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libcue')
-rw-r--r--nixpkgs/pkgs/development/libraries/libcue/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libcue/default.nix b/nixpkgs/pkgs/development/libraries/libcue/default.nix
new file mode 100644
index 000000000000..73a110c07f69
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/libcue/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchFromGitHub, cmake, bison, flex }:
+
+stdenv.mkDerivation rec {
+  pname = "libcue";
+  version = "2.2.1";
+
+  src = fetchFromGitHub {
+    owner = "lipnitsk";
+    repo = "libcue";
+    rev = "v${version}";
+    sha256 = "1iqw4n01rv2jyk9lksagyxj8ml0kcfwk67n79zy1r6zv1xfp5ywm";
+  };
+
+  nativeBuildInputs = [ cmake bison flex ];
+
+  doCheck = false; # fails all the tests (ctest)
+
+  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;
+  };
+}