nixpkgs/pkgs
aszlig 40b76c8809
beets: Run tests for external plugins
In order to run the tests for the external plugins of beets, we need to
have beets itself as a dependency. So in order to do that, we now pass
beets without plugins and tests to the nativeBuildInputs of the plugins
so that we can run them.

As soon as the plugins are built they become part of the final beets,
which also has tests enabled, so disabling the tests for beets
derivation that is used for external plugin tests is a non-issue here
because they're going to be executed anyway.

Enabling tests for the alternatives plugin is pretty straightforward,
but in order to run tests for the copyartifacts plugin, we need to bump
the source code to the latest Git master.

The reason for this is that the version that was in use until now
required to have the beets source directory alongside of the
copyartifacts source code, but we already have beets available as a
normal dependency.

Updating copyartifacts to latest master largely consists of unit test
changes and a few Python 3 compatibility changes. However, one change
has the biggest stat, which is
sbarakat/beets-copyartifacts@1a0c281da0.

Fortunately, the last change is just moving the implementation to a
newer API from upstream beets and by the looks of the implementation it
seems to break support for moving files. However, reverting this commit
also reveals that moving files was already broken before, so it wouldn't
matter much whether we have this version bump or not.

Tested with the following command:

nix-build -E '(import ./. {}).beets.override {
  enableAlternatives = true;
  enableCopyArtifacts = true;
}'

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @domenkozar, @pjones, @Profpatsch, @michalrus
2017-09-02 02:36:32 +02:00
..
applications turses: fix build 2017-09-01 18:56:04 +01:00
build-support Merge commit '2858c41' into HEAD 2017-08-30 21:07:07 +02:00
common-updater common-updater-script: fix error handling 2017-05-19 17:14:43 +03:00
data nerdfonts: 1.0.0 -> 1.1.0 2017-08-31 10:45:31 +02:00
desktops gnome3.dconf-editor: include gsettings_desktop_schemas 2017-09-01 13:07:39 +02:00
development python2Packages.jedi: fix tests 2017-09-01 19:06:49 +01:00
games Merge pull request #28825 from disassembler/crrcsim 2017-09-01 14:13:21 +01:00
misc e17gtk: finish decoupling from gnome3 version 2017-08-29 14:24:17 +02:00
os-specific conky: Don't enable nvidiaSupport by default 2017-09-01 17:35:17 +02:00
servers Merge #28802: rethinkdb: fix build with gcc6 2017-08-31 22:04:04 +02:00
shells grml-zsh-config: generalize support to unix systems 2017-09-01 11:38:38 +03:00
stdenv expand-response-params: Build more normally 2017-08-25 15:10:02 -04:00
test macos-sierra-shared: Make live code and add to nascent Darwin channel 2017-07-31 21:28:18 -04:00
tools beets: Run tests for external plugins 2017-09-02 02:36:32 +02:00
top-level Merge pull request #28860 from dtzWill/fix/clang_34_hardening 2017-09-01 19:36:24 +01:00