summary refs log tree commit diff
path: root/pkgs/development/libraries/libcddb/default.nix
blob: 591369df83f1ca02f092d30c1bacf4fe6fcda3fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, libiconv }:

stdenv.mkDerivation rec {
  name = "libcddb-1.3.2";

  src = fetchurl {
    url = "mirror://sourceforge/libcddb/${name}.tar.bz2";
    sha256 = "0fr21a7vprdyy1bq6s99m0x420c9jm5fipsd63pqv8qyfkhhxkim";
  };

  buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;

  doCheck = false; # fails 3 of 5 tests with locale errors

  meta = with stdenv.lib; {
    description = "C library to access data on a CDDB server (freedb.org)";
    homepage = http://libcddb.sourceforge.net/;
    license = licenses.lgpl2Plus;
    platforms = platforms.linux ++ platforms.darwin;
  };
}