nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchurl, libcddb, pkgconfig, ncurses, help2man, libiconv }:
2
3stdenv.mkDerivation rec {
4 name = "libcdio-0.93";
5
6 src = fetchurl {
7 url = "mirror://gnu/libcdio/${name}.tar.bz2";
8 sha256 = "1a6x2c5bvpnkn7lhmxkjgz4axmh93m1clrlv41s1wzkc48lnc9zq";
9 };
10
11 buildInputs = [ libcddb pkgconfig ncurses help2man ]
12 ++ stdenv.lib.optional stdenv.isDarwin libiconv;
13
14 # Disabled because one test (check_paranoia.sh) fails.
15 #doCheck = true;
16
17 meta = with stdenv.lib; {
18 description = "A library for OS-independent CD-ROM and CD image access";
19 longDescription = ''
20 GNU libcdio is a library for OS-independent CD-ROM and
21 CD image access. It includes a library for working with
22 ISO-9660 filesystems (libiso9660), as well as utility
23 programs such as an audio CD player and an extractor.
24 '';
25 homepage = http://www.gnu.org/software/libcdio/;
26 license = licenses.gpl2Plus;
27 platforms = platforms.linux ++ platforms.darwin;
28 };
29}