beets: 1.4.7 -> 1.4.9

This commit is contained in:
Bruno Bigras 2019-09-23 00:23:56 -04:00
parent 9d09cf0fc3
commit 239aafea69

View File

@ -17,9 +17,12 @@
, enableKeyfinder ? true, keyfinder-cli ? null , enableKeyfinder ? true, keyfinder-cli ? null
, enableKodiupdate ? true , enableKodiupdate ? true
, enableLastfm ? true , enableLastfm ? true
, enableLoadext ? true
, enableMpd ? true , enableMpd ? true
, enablePlaylist ? true
, enableReplaygain ? true, bs1770gain ? null , enableReplaygain ? true, bs1770gain ? null
, enableSonosUpdate ? true , enableSonosUpdate ? true
, enableSubsonicupdate ? true
, enableThumbnails ? true , enableThumbnails ? true
, enableWeb ? true , enableWeb ? true
@ -60,10 +63,13 @@ let
kodiupdate = enableKodiupdate; kodiupdate = enableKodiupdate;
lastgenre = enableLastfm; lastgenre = enableLastfm;
lastimport = enableLastfm; lastimport = enableLastfm;
loadext = enableLoadext;
mpdstats = enableMpd; mpdstats = enableMpd;
mpdupdate = enableMpd; mpdupdate = enableMpd;
playlist = enablePlaylist;
replaygain = enableReplaygain; replaygain = enableReplaygain;
sonosupdate = enableSonosUpdate; sonosupdate = enableSonosUpdate;
subsonicupdate = enableSubsonicupdate;
thumbnails = enableThumbnails; thumbnails = enableThumbnails;
web = enableWeb; web = enableWeb;
}; };
@ -102,13 +108,13 @@ let
in pythonPackages.buildPythonApplication rec { in pythonPackages.buildPythonApplication rec {
pname = "beets"; pname = "beets";
version = "1.4.7"; version = "1.4.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "beetbox"; owner = "beetbox";
repo = "beets"; repo = "beets";
rev = "v${version}"; rev = "v${version}";
sha256 = "17gfz0g7pqm6wha8zf63zpw07zgi787w1bjwdcxdh1l3z4m7jc9l"; sha256 = "1qxdqbzvz97zgykzdwn78g2xyxmg0q2jdb12dnjnrwvhmjv67vi8";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -127,6 +133,9 @@ in pythonPackages.buildPythonApplication rec {
++ optional (enableFetchart ++ optional (enableFetchart
|| enableEmbyupdate || enableEmbyupdate
|| enableKodiupdate || enableKodiupdate
|| enableLoadext
|| enablePlaylist
|| enableSubsonicupdate
|| enableAcousticbrainz) || enableAcousticbrainz)
pythonPackages.requests pythonPackages.requests
++ optional enableConvert ffmpeg ++ optional enableConvert ffmpeg
@ -160,14 +169,6 @@ in pythonPackages.buildPythonApplication rec {
patches = [ patches = [
./replaygain-default-bs1770gain.patch ./replaygain-default-bs1770gain.patch
./keyfinder-default-bin.patch ./keyfinder-default-bin.patch
# Fix Python 3.7 compatibility
(fetchpatch {
url = "https://github.com/beetbox/beets/commit/"
+ "15d44f02a391764da1ce1f239caef819f08beed8.patch";
sha256 = "12rjb4959nvnrm3fvvki7chxjkipa0cy8i0yi132xrcn8141dnpm";
excludes = [ "docs/changelog.rst" ];
})
]; ];
postPatch = '' postPatch = ''