summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Friesdorf <flo@chaoflow.net>2014-02-02 21:29:08 +0100
committerFlorian Friesdorf <flo@chaoflow.net>2014-02-02 21:31:16 +0100
commit9fb8624b94c6db633ebc2baad5de634b5199c97f (patch)
treeca13114dbae721cecb1f79680355700a03e1c971
parent177b0a0e8b467858469e09977561abf83467b6af (diff)
downloadnixlib-9fb8624b94c6db633ebc2baad5de634b5199c97f.tar
nixlib-9fb8624b94c6db633ebc2baad5de634b5199c97f.tar.gz
nixlib-9fb8624b94c6db633ebc2baad5de634b5199c97f.tar.bz2
nixlib-9fb8624b94c6db633ebc2baad5de634b5199c97f.tar.lz
nixlib-9fb8624b94c6db633ebc2baad5de634b5199c97f.tar.xz
nixlib-9fb8624b94c6db633ebc2baad5de634b5199c97f.tar.zst
nixlib-9fb8624b94c6db633ebc2baad5de634b5199c97f.zip
libcdio-0.82 for abcde
libcdio-0.9x lacks cd-paranoia needed by abcde. Bring back 0.82 for
abcde until we sort out where cd-paranoia went to.
-rw-r--r--pkgs/development/libraries/libcdio/0.82.nix27
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libcdio/0.82.nix b/pkgs/development/libraries/libcdio/0.82.nix
new file mode 100644
index 000000000000..fc26fb9aca11
--- /dev/null
+++ b/pkgs/development/libraries/libcdio/0.82.nix
@@ -0,0 +1,27 @@
+{ fetchurl, stdenv, libcddb, pkgconfig, ncurses, help2man }:
+
+stdenv.mkDerivation rec {
+  name = "libcdio-0.82";
+  
+  src = fetchurl {
+    url = "mirror://gnu/libcdio/${name}.tar.gz";
+    sha256 = "0fax1dzy84dzs20bmpq2gfw6hc1x2x9mhk53wynhcycjw3l3vjqs";
+  };
+
+  buildInputs = [ libcddb pkgconfig ncurses help2man ];
+
+  # Disabled because one test (check_paranoia.sh) fails.
+  #doCheck = true;
+
+  meta = {
+    description = "A library for OS-independent CD-ROM and CD image access";
+    longDescription = ''
+      GNU libcdio is a library for OS-idependent CD-ROM and
+      CD image access.  It includes a library for working with
+      ISO-9660 filesystems (libiso9660), as well as utility
+      programs such as an audio CD player and an extractor.
+    '';
+    license = "GPLv2+";
+    homepage = http://www.gnu.org/software/libcdio/;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 1bc857e02028..3cdb15b04755 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -4590,6 +4590,7 @@ let
   libcddb = callPackage ../development/libraries/libcddb { };
 
   libcdio = callPackage ../development/libraries/libcdio { };
+  libcdio082 = callPackage ../development/libraries/libcdio/0.8.2.nix { };
 
   libcdr = callPackage ../development/libraries/libcdr { lcms = lcms2; };
 
@@ -7339,6 +7340,7 @@ let
 
   abcde = callPackage ../applications/audio/abcde {
     inherit (perlPackages) DigestSHA MusicBrainz MusicBrainzDiscID;
+    libcdio = libcdio082;
   };
 
   abiword = callPackage ../applications/office/abiword {