2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, neon, libdiscid }:
|
2010-09-14 14:29:19 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-06-22 13:21:29 +00:00
|
|
|
pname = "libmusicbrainz";
|
|
|
|
version = "3.0.3";
|
2010-09-14 14:29:19 +00:00
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ neon libdiscid ];
|
2010-09-14 14:29:19 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-22 13:21:29 +00:00
|
|
|
url = "ftp://ftp.musicbrainz.org/pub/musicbrainz/${pname}-${version}.tar.gz";
|
2014-10-12 14:13:21 +00:00
|
|
|
sha256 = "1i9qly13bwwmgj68vma766hgvsd1m75236haqsp9zgh5znlmkm3z";
|
2010-09-14 14:29:19 +00:00
|
|
|
};
|
2010-09-15 12:57:49 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2022-05-28 13:38:40 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://musicbrainz.org/doc/libmusicbrainz";
|
2010-09-15 12:57:49 +00:00
|
|
|
description = "MusicBrainz Client Library (3.x version)";
|
|
|
|
longDescription = ''
|
|
|
|
The libmusicbrainz (also known as mb_client or MusicBrainz Client
|
|
|
|
Library) is a development library geared towards developers who wish to
|
|
|
|
add MusicBrainz lookup capabilities to their applications.'';
|
2018-10-18 19:09:34 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.lgpl21;
|
2010-09-15 12:57:49 +00:00
|
|
|
};
|
2010-09-14 14:29:19 +00:00
|
|
|
}
|