mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
beets: use checkInputs
This commit is contained in:
parent
4348c8a0ba
commit
5124cf7a14
1 changed files with 10 additions and 9 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue