1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Add libcddb and GNU libcdio.

svn path=/nixpkgs/trunk/; revision=10960
This commit is contained in:
Ludovic Courtès 2008-03-05 09:10:23 +00:00
parent 8b34b723f7
commit ddb9d11f1c
3 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{fetchurl, stdenv}:
stdenv.mkDerivation rec {
name = "libcddb-1.3.0";
src = fetchurl {
url = "mirror://sourceforge/libcddb/${name}.tar.bz2";
sha256 = "1y8bfy12dwm41m1jahayn3v47dm34fmz7m9cjxyh7xcw6fp3lzaf";
};
meta = {
description = ''Libcddb is a C library to access data on a CDDB server
(freedb.org).'';
license = "LGPLv2+";
homepage = http://libcddb.sourceforge.net/;
};
}

View file

@ -0,0 +1,20 @@
{fetchurl, stdenv, libcddb, pkgconfig, ncurses}:
stdenv.mkDerivation rec {
name = "libcdio-0.79";
src = fetchurl {
url = "mirror://gnu/libcdio/${name}.tar.gz";
sha256 = "1xfizvs0yvgs9ddazalsmccd6whqi5fy4dlm3dhcqj72wvpf7w0v";
};
buildInputs = [ libcddb pkgconfig ncurses ];
meta = {
description = ''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/;
};
}

View file

@ -2569,6 +2569,14 @@ rec {
inherit fetchurl stdenv;
};
libcddb = import ../development/libraries/libcddb {
inherit fetchurl stdenv;
};
libcdio = import ../development/libraries/libcdio {
inherit fetchurl stdenv libcddb pkgconfig ncurses;
};
libcm = assert mesaSupported; import ../development/libraries/libcm {
inherit fetchurl stdenv pkgconfig xlibs mesa;
inherit (gtkLibs) glib;