From 7ad7691ffcdf6e906c913161682aefbef770c430 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 25 Oct 2016 17:54:06 +0200 Subject: [PATCH] libmusicbrainz5: 5.0.1 -> 5.1.0 --- pkgs/development/libraries/libmusicbrainz/5.x.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/libmusicbrainz/5.x.nix b/pkgs/development/libraries/libmusicbrainz/5.x.nix index 7cdb8fb46910..5ec8f80f7e02 100644 --- a/pkgs/development/libraries/libmusicbrainz/5.x.nix +++ b/pkgs/development/libraries/libmusicbrainz/5.x.nix @@ -1,13 +1,16 @@ -{ stdenv, fetchurl, cmake, neon, libdiscid }: +{ stdenv, fetchFromGitHub, cmake, neon, libdiscid, libxml2, pkgconfig }: stdenv.mkDerivation rec { - name = "libmusicbrainz-5.0.1"; + version = "5.1.0"; + name = "libmusicbrainz-${version}"; - buildInputs = [ cmake neon libdiscid ]; + buildInputs = [ cmake neon libdiscid libxml2 pkgconfig ]; - src = fetchurl { - url = "https://github.com/downloads/metabrainz/libmusicbrainz/${name}.tar.gz"; - md5 = "a0406b94c341c2b52ec0fe98f57cadf3"; + src = fetchFromGitHub { + owner = "metabrainz"; + repo = "libmusicbrainz"; + sha256 = "0ah9kaf3g3iv1cps2vs1hs33nfbjfx1xscpjgxr1cg28p4ri6jhq"; + rev = "release-${version}"; }; dontUseCmakeBuildDir=true;