2017-01-24 22:41:59 +01:00
|
|
|
{ stdenv, fetchurl, libiconv }:
|
2008-03-05 10:10:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-15 12:16:57 +01:00
|
|
|
name = "libcddb-1.3.2";
|
2017-01-24 22:41:59 +01:00
|
|
|
|
2008-03-05 10:10:23 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/libcddb/${name}.tar.bz2";
|
2013-12-15 12:16:57 +01:00
|
|
|
sha256 = "0fr21a7vprdyy1bq6s99m0x420c9jm5fipsd63pqv8qyfkhhxkim";
|
2008-03-05 10:10:23 +01:00
|
|
|
};
|
|
|
|
|
2017-01-24 22:41:59 +01:00
|
|
|
buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
|
|
|
|
|
2018-04-25 05:20:18 +02:00
|
|
|
doCheck = false; # fails 3 of 5 tests with locale errors
|
|
|
|
|
2017-01-24 22:41:59 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "C library to access data on a CDDB server (freedb.org)";
|
2008-03-05 10:10:23 +01:00
|
|
|
homepage = http://libcddb.sourceforge.net/;
|
2017-01-24 22:41:59 +01:00
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2008-03-05 10:10:23 +01:00
|
|
|
};
|
|
|
|
}
|