mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
30 lines
922 B
Nix
30 lines
922 B
Nix
{ stdenv, fetchFromGitHub, cmake, neon, libdiscid, libxml2, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "5.1.0";
|
|
pname = "libmusicbrainz";
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ cmake neon libdiscid libxml2 ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "metabrainz";
|
|
repo = "libmusicbrainz";
|
|
sha256 = "0ah9kaf3g3iv1cps2vs1hs33nfbjfx1xscpjgxr1cg28p4ri6jhq";
|
|
rev = "release-${version}";
|
|
};
|
|
|
|
dontUseCmakeBuildDir=true;
|
|
|
|
meta = with stdenv.lib; {
|
|
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.'';
|
|
platforms = platforms.all;
|
|
license = licenses.lgpl21;
|
|
};
|
|
}
|