From 9fb8624b94c6db633ebc2baad5de634b5199c97f Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Sun, 2 Feb 2014 21:29:08 +0100 Subject: [PATCH] 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. --- pkgs/development/libraries/libcdio/0.82.nix | 27 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/libraries/libcdio/0.82.nix 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 {