beets: use checkInputs

This commit is contained in:
Robert Schütz 2019-02-20 20:07:21 +01:00
parent 4348c8a0ba
commit 5124cf7a14

View file

@ -140,19 +140,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
@ -212,9 +215,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
'';