summary refs log tree commit diff
path: root/pkgs/tools/audio/beets/default.nix
diff options
context:
space:
mode:
authorFrederik Rietdijk <freddyrietdijk@fridh.nl>2019-03-01 09:06:20 +0100
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2019-03-01 09:06:20 +0100
commit2fcb11a2442b27834db87b2f62511037c31b5e36 (patch)
treee9d38370aac7632cd35207180dc7c87d2bb6171d /pkgs/tools/audio/beets/default.nix
parent456ff62ff820bbb2debd4568a775d88e61fd8bd1 (diff)
parentfc4a8f63c4e46652d484b127162641be36481363 (diff)
downloadnixpkgs-2fcb11a2442b27834db87b2f62511037c31b5e36.tar
nixpkgs-2fcb11a2442b27834db87b2f62511037c31b5e36.tar.gz
nixpkgs-2fcb11a2442b27834db87b2f62511037c31b5e36.tar.bz2
nixpkgs-2fcb11a2442b27834db87b2f62511037c31b5e36.tar.lz
nixpkgs-2fcb11a2442b27834db87b2f62511037c31b5e36.tar.xz
nixpkgs-2fcb11a2442b27834db87b2f62511037c31b5e36.tar.zst
nixpkgs-2fcb11a2442b27834db87b2f62511037c31b5e36.zip
Merge staging-next into master
Diffstat (limited to 'pkgs/tools/audio/beets/default.nix')
-rw-r--r--pkgs/tools/audio/beets/default.nix19
1 files changed, 10 insertions, 9 deletions
diff --git a/pkgs/tools/audio/beets/default.nix b/pkgs/tools/audio/beets/default.nix
index c9a369ce4f7..21e748cc79d 100644
--- a/pkgs/tools/audio/beets/default.nix
+++ b/pkgs/tools/audio/beets/default.nix
@@ -141,19 +141,22 @@ in pythonPackages.buildPythonApplication rec {
     ++ optional enableAlternatives  plugins.alternatives
     ++ optional enableCopyArtifacts plugins.copyartifacts;
 
-  buildInputs = with pythonPackages; [
-    beautifulsoup4
+  buildInputs = [
     imagemagick
-    mock
-    nose
-    rarfile
-    responses
   ] ++ (with gst_all_1; [
     gst-plugins-base
     gst-plugins-good
     gst-plugins-ugly
   ]);
 
+  checkInputs = with pythonPackages; [
+    beautifulsoup4
+    mock
+    nose
+    rarfile
+    responses
+  ];
+
   patches = [
     ./replaygain-default-bs1770gain.patch
     ./keyfinder-default-bin.patch
@@ -213,9 +216,7 @@ in pythonPackages.buildPythonApplication rec {
     LOCALE_ARCHIVE=${assert stdenv.isLinux; glibcLocales}/lib/locale/locale-archive \
     BEETS_TEST_SHELL="${testShell}" \
     BASH_COMPLETION_SCRIPT="${completion}" \
-    HOME="$(mktemp -d)" \
-      # Exclude failing test https://github.com/beetbox/beets/issues/2652
-      nosetests -v --exclude=test_single_month_nonmatch_ --exclude=test_asciify_variable --exclude=test_asciify_character_expanding_to_slash
+    HOME="$(mktemp -d)" nosetests -v
 
     runHook postCheck
   '';