From 642b8ae65899ce8608936ccd9d6870b267dedbc9 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 14 Apr 2015 09:36:12 +0200 Subject: [PATCH] boots: Sort expression strings/attributes. I know, I know, this is me being ultra-nazi about those things, but beets is about OCDing your music collection, so why not apply this to the Nix expressions as well? Signed-off-by: aszlig --- pkgs/tools/audio/beets/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/audio/beets/default.nix b/pkgs/tools/audio/beets/default.nix index 4d4badc345b..6c0a3347958 100644 --- a/pkgs/tools/audio/beets/default.nix +++ b/pkgs/tools/audio/beets/default.nix @@ -20,8 +20,8 @@ assert enableEchonest -> pythonPackages.pyechonest != null; assert enableFetchart -> pythonPackages.responses != null; assert enableLastfm -> pythonPackages.pylast != null; assert enableMpd -> pythonPackages.mpd != null; -assert enableThumbnails -> pythonPackages.pyxdg != null; assert enableReplaygain -> pythonPackages.audiotools != null; +assert enableThumbnails -> pythonPackages.pyxdg != null; assert enableWeb -> pythonPackages.flask != null; with stdenv.lib; @@ -42,11 +42,11 @@ let }; pluginsWithoutDeps = [ - "bench" "bpd" "bpm" "bucket" "convert" "cue" "duplicates" "embedart" "freedesktop" - "fromfilename" "filefilter" "ftintitle" "fuzzy" "ihate" "importadded" "importfeeds" - "info" "inline" "keyfinder" "lyrics" "mbcollection" "mbsync" "missing" - "permissions" "play" "plexupdate" "random" "rewrite" "scrub" "smartplaylist" - "spotify" "the" "types" "zero" + "bench" "bpd" "bpm" "bucket" "convert" "cue" "duplicates" "embedart" + "filefilter" "freedesktop" "fromfilename" "ftintitle" "fuzzy" "ihate" + "importadded" "importfeeds" "info" "inline" "keyfinder" "lyrics" + "mbcollection" "mbsync" "missing" "permissions" "play" "plexupdate" "random" + "rewrite" "scrub" "smartplaylist" "spotify" "the" "types" "zero" ]; enabledOptionalPlugins = attrNames (filterAttrs (_: id) optionalPlugins); @@ -85,8 +85,8 @@ in buildPythonPackage rec { ++ optional enableEchonest pythonPackages.pyechonest ++ optional enableLastfm pythonPackages.pylast ++ optional enableMpd pythonPackages.mpd - ++ optional enableThumbnails pythonPackages.pyxdg ++ optional enableReplaygain pythonPackages.audiotools + ++ optional enableThumbnails pythonPackages.pyxdg ++ optional enableWeb pythonPackages.flask; buildInputs = with pythonPackages; [