libcddb: fix darwin build

This commit is contained in:
Daiderd Jordan 2017-01-24 22:41:59 +01:00
parent c9d5e5b34b
commit 02cc679734
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -1,17 +1,19 @@
{fetchurl, stdenv}:
{ stdenv, fetchurl, libiconv }:
stdenv.mkDerivation rec {
name = "libcddb-1.3.2";
src = fetchurl {
url = "mirror://sourceforge/libcddb/${name}.tar.bz2";
sha256 = "0fr21a7vprdyy1bq6s99m0x420c9jm5fipsd63pqv8qyfkhhxkim";
};
meta = {
buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
meta = with stdenv.lib; {
description = "C library to access data on a CDDB server (freedb.org)";
license = stdenv.lib.licenses.lgpl2Plus;
homepage = http://libcddb.sourceforge.net/;
platforms = stdenv.lib.platforms.linux;
license = licenses.lgpl2Plus;
platforms = platforms.linux ++ platforms.darwin;
};
}