2016-10-25 17:54:06 +02:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, neon, libdiscid, libxml2, pkgconfig }:
|
2014-04-07 23:52:40 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-10-25 17:54:06 +02:00
|
|
|
version = "5.1.0";
|
|
|
|
name = "libmusicbrainz-${version}";
|
2014-04-07 23:52:40 +02:00
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ cmake neon libdiscid libxml2 ];
|
2014-04-07 23:52:40 +02:00
|
|
|
|
2016-10-25 17:54:06 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "metabrainz";
|
|
|
|
repo = "libmusicbrainz";
|
|
|
|
sha256 = "0ah9kaf3g3iv1cps2vs1hs33nfbjfx1xscpjgxr1cg28p4ri6jhq";
|
|
|
|
rev = "release-${version}";
|
2014-04-07 23:52:40 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
dontUseCmakeBuildDir=true;
|
|
|
|
|
2018-10-18 21:09:34 +02:00
|
|
|
meta = with stdenv.lib; {
|
2014-04-07 23:52:40 +02:00
|
|
|
homepage = http://musicbrainz.org/doc/libmusicbrainz;
|
|
|
|
description = "MusicBrainz Client Library (5.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 21:09:34 +02:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.lgpl21;
|
2014-04-07 23:52:40 +02:00
|
|
|
};
|
|
|
|
}
|