beets: use checkInputs
This commit is contained in:
parent
4348c8a0ba
commit
5124cf7a14
|
@ -140,19 +140,22 @@ in pythonPackages.buildPythonApplication rec {
|
||||||
++ optional enableAlternatives plugins.alternatives
|
++ optional enableAlternatives plugins.alternatives
|
||||||
++ optional enableCopyArtifacts plugins.copyartifacts;
|
++ optional enableCopyArtifacts plugins.copyartifacts;
|
||||||
|
|
||||||
buildInputs = with pythonPackages; [
|
buildInputs = [
|
||||||
beautifulsoup4
|
|
||||||
imagemagick
|
imagemagick
|
||||||
mock
|
|
||||||
nose
|
|
||||||
rarfile
|
|
||||||
responses
|
|
||||||
] ++ (with gst_all_1; [
|
] ++ (with gst_all_1; [
|
||||||
gst-plugins-base
|
gst-plugins-base
|
||||||
gst-plugins-good
|
gst-plugins-good
|
||||||
gst-plugins-ugly
|
gst-plugins-ugly
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
checkInputs = with pythonPackages; [
|
||||||
|
beautifulsoup4
|
||||||
|
mock
|
||||||
|
nose
|
||||||
|
rarfile
|
||||||
|
responses
|
||||||
|
];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./replaygain-default-bs1770gain.patch
|
./replaygain-default-bs1770gain.patch
|
||||||
./keyfinder-default-bin.patch
|
./keyfinder-default-bin.patch
|
||||||
|
@ -212,9 +215,7 @@ in pythonPackages.buildPythonApplication rec {
|
||||||
LOCALE_ARCHIVE=${assert stdenv.isLinux; glibcLocales}/lib/locale/locale-archive \
|
LOCALE_ARCHIVE=${assert stdenv.isLinux; glibcLocales}/lib/locale/locale-archive \
|
||||||
BEETS_TEST_SHELL="${testShell}" \
|
BEETS_TEST_SHELL="${testShell}" \
|
||||||
BASH_COMPLETION_SCRIPT="${completion}" \
|
BASH_COMPLETION_SCRIPT="${completion}" \
|
||||||
HOME="$(mktemp -d)" \
|
HOME="$(mktemp -d)" nosetests -v
|
||||||
# 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
|
|
||||||
|
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue