libmusicbrainz: 5.1.0 -> 5.1.0-unstable-2025-07-12

Last stable release in 2014, trickle of mundane fix commits since
then, including CMake 4 support. Try not to think about how long ago
the 3.x version was released, by the way.

Diff: https://github.com/metabrainz/libmusicbrainz/compare/release-5.1.0...4efbed3afae11ef68281816088d7cf3d0f704dfe

Emily 8b2b6233 443539a9

+16 -28
+16 -28
pkgs/by-name/li/libmusicbrainz/package.nix
··· 10 10 pkg-config, 11 11 }: 12 12 13 - stdenv.mkDerivation rec { 14 - version = "5.1.0"; 13 + stdenv.mkDerivation { 15 14 pname = "libmusicbrainz"; 15 + version = "5.1.0-unstable-2025-07-12"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "metabrainz"; 19 + repo = "libmusicbrainz"; 20 + rev = "4efbed3afae11ef68281816088d7cf3d0f704dfe"; 21 + hash = "sha256-2nMm+vm/uOT7AzTQIvfpmBsNYApZF0mekDEgt7tC6fw="; 22 + }; 16 23 17 24 nativeBuildInputs = [ 18 25 cmake 19 26 pkg-config 20 27 ]; 28 + 21 29 buildInputs = [ 22 30 neon 23 31 libdiscid 24 32 libxml2 25 33 ]; 26 34 27 - src = fetchFromGitHub { 28 - owner = "metabrainz"; 29 - repo = "libmusicbrainz"; 30 - sha256 = "0ah9kaf3g3iv1cps2vs1hs33nfbjfx1xscpjgxr1cg28p4ri6jhq"; 31 - rev = "release-${version}"; 32 - }; 33 - 34 - patches = [ 35 - # Fix build with libxml2 2.12 36 - (fetchpatch { 37 - url = "https://github.com/metabrainz/libmusicbrainz/commit/9ba00067a15479a52262a5126bcb6889da5884b7.patch"; 38 - hash = "sha256-4VxTohLpjUNnNZGIoRpBjUz71mLP3blg4oFL7itnJnY="; 39 - }) 40 - (fetchpatch { 41 - url = "https://github.com/metabrainz/libmusicbrainz/commit/558c9ba0e6d702d5c877f75be98176f57abf1b02.patch"; 42 - hash = "sha256-hKYY4BJLh/Real3NugLwzc4gPBQ3NB/F63iI/aV8Wh8="; 43 - }) 44 - ]; 45 - 46 - dontUseCmakeBuildDir = true; 47 - 48 - meta = with lib; { 35 + meta = { 49 36 homepage = "http://musicbrainz.org/doc/libmusicbrainz"; 50 - description = "MusicBrainz Client Library (5.x version)"; 37 + description = "MusicBrainz Client Library"; 51 38 longDescription = '' 52 39 The libmusicbrainz (also known as mb_client or MusicBrainz Client 53 40 Library) is a development library geared towards developers who wish to 54 - add MusicBrainz lookup capabilities to their applications.''; 55 - platforms = platforms.all; 56 - license = licenses.lgpl21; 41 + add MusicBrainz lookup capabilities to their applications. 42 + ''; 43 + platforms = lib.platforms.all; 44 + license = lib.licenses.lgpl21Plus; 57 45 }; 58 46 }