3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libmusicbrainz/5.x.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
924 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, neon, libdiscid, libxml2, pkg-config }:
2014-04-07 22:52:40 +01:00
stdenv.mkDerivation rec {
2016-10-25 16:54:06 +01:00
version = "5.1.0";
pname = "libmusicbrainz";
2014-04-07 22:52:40 +01:00
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ neon libdiscid libxml2 ];
2014-04-07 22:52:40 +01:00
2016-10-25 16:54:06 +01:00
src = fetchFromGitHub {
owner = "metabrainz";
repo = "libmusicbrainz";
sha256 = "0ah9kaf3g3iv1cps2vs1hs33nfbjfx1xscpjgxr1cg28p4ri6jhq";
rev = "release-${version}";
2014-04-07 22:52:40 +01:00
};
dontUseCmakeBuildDir=true;
meta = with lib; {
homepage = "http://musicbrainz.org/doc/libmusicbrainz";
2014-04-07 22:52:40 +01:00
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 20:09:34 +01:00
platforms = platforms.all;
license = licenses.lgpl21;
2014-04-07 22:52:40 +01:00
};
}