From 1a6c03c2346f19fa0d654c65a4b2715bd36beb13 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Tue, 2 Feb 2016 16:07:25 +0100 Subject: [PATCH] beets: 1.3.15 -> 1.3.16 Add plugins embyupdate, edit, mbsubmit as plugins. --- pkgs/tools/audio/beets/default.nix | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/pkgs/tools/audio/beets/default.nix b/pkgs/tools/audio/beets/default.nix index 35a69262acde..c1945ca5de0a 100644 --- a/pkgs/tools/audio/beets/default.nix +++ b/pkgs/tools/audio/beets/default.nix @@ -5,6 +5,7 @@ , enableBadfiles ? true, flac ? null, mp3val ? null , enableDiscogs ? true , enableEchonest ? true +, enableEmbyupdate ? true , enableFetchart ? true , enableLastfm ? true , enableMpd ? true @@ -37,6 +38,7 @@ let chroma = enableAcoustid; discogs = enableDiscogs; echonest = enableEchonest; + embyupdate = enableEmbyupdate; fetchart = enableFetchart; lastgenre = enableLastfm; lastimport = enableLastfm; @@ -48,10 +50,10 @@ let }; pluginsWithoutDeps = [ - "bench" "bpd" "bpm" "bucket" "convert" "cue" "duplicates" "embedart" + "bench" "bpd" "bpm" "bucket" "convert" "cue" "duplicates" "edit" "embedart" "filefilter" "freedesktop" "fromfilename" "ftintitle" "fuzzy" "ihate" "importadded" "importfeeds" "info" "inline" "ipfs" "keyfinder" "lyrics" - "mbcollection" "mbsync" "metasync" "missing" "permissions" "play" + "mbcollection" "mbsubmit" "mbsync" "metasync" "missing" "permissions" "play" "plexupdate" "random" "rewrite" "scrub" "smartplaylist" "spotify" "the" "types" "zero" ]; @@ -66,14 +68,14 @@ let in buildPythonPackage rec { name = "beets-${version}"; - version = "1.3.15"; + version = "1.3.16"; namePrefix = ""; src = fetchFromGitHub { owner = "sampsyo"; repo = "beets"; rev = "v${version}"; - sha256 = "17mbkilqqkxxa8ra8b4zlsax712jb0nfkvcx9iyq9303rqwv5sx2"; + sha256 = "1grjcgr419yq756wwxjpzyfjdf8n51bg6i0agm465lb7l3jgqy6k"; }; propagatedBuildInputs = [ @@ -87,14 +89,15 @@ in buildPythonPackage rec { pythonPackages.unidecode python.modules.sqlite3 python.modules.readline - ] ++ optional enableAcoustid pythonPackages.pyacoustid - ++ optional enableFetchart pythonPackages.requests2 - ++ optional enableDiscogs pythonPackages.discogs_client - ++ optional enableEchonest pythonPackages.pyechonest - ++ optional enableLastfm pythonPackages.pylast - ++ optional enableMpd pythonPackages.mpd - ++ optional enableThumbnails pythonPackages.pyxdg - ++ optional enableWeb pythonPackages.flask + ] ++ optional enableAcoustid pythonPackages.pyacoustid + ++ optional (enableFetchart + || enableEmbyupdate) pythonPackages.requests2 + ++ optional enableDiscogs pythonPackages.discogs_client + ++ optional enableEchonest pythonPackages.pyechonest + ++ optional enableLastfm pythonPackages.pylast + ++ optional enableMpd pythonPackages.mpd + ++ optional enableThumbnails pythonPackages.pyxdg + ++ optional enableWeb pythonPackages.flask ++ optional enableAlternatives (import ./alternatives-plugin.nix { inherit stdenv buildPythonPackage pythonPackages fetchFromGitHub; }); @@ -186,7 +189,7 @@ in buildPythonPackage rec { description = "Music tagger and library organizer"; homepage = http://beets.radbox.org; license = licenses.mit; - maintainers = with maintainers; [ aszlig iElectric pjones ]; + maintainers = with maintainers; [ aszlig iElectric pjones profpatsch ]; platforms = platforms.linux; }; }