nixpkgs/pkgs/tools
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
..
admin ansible: move out of pythonPackages 2017-08-28 11:30:22 +01:00
archivers Merge pull request #27881 from mimadrid/fix/http-https 2017-08-13 21:53:20 +02:00
audio beets: Run tests for external plugins 2017-09-02 02:36:32 +02:00
backup httraqt: init at 1.4.9 2017-08-30 15:02:39 +08:00
bluetooth blueman: fix python wrapper mockup 2017-08-30 02:59:57 +02:00
bootloaders/refind refind: mark as broken 2017-03-14 15:36:35 +01:00
cd-dvd Merge branch 'master' into gcc-6 2017-08-12 10:09:41 +02:00
compression xar: 1.5.2 -> 1.6.1 2017-08-28 00:54:42 +02:00
filesystems bcachefs-tools: 2016-05-13 -> 2017-08-28 2017-08-31 05:39:24 -05:00
graphics lprof: fix build 2017-08-29 12:58:37 +01:00
inputmethods Merge commit '2858c41' into HEAD 2017-08-30 21:07:07 +02:00
misc youtube-dl: 2017.08.23 -> 2017.08.27 2017-08-30 21:10:36 +02:00
nagstamon nagstamon: init at 2.0.1 2017-06-01 19:32:06 +02:00
networking Merge pull request #28840 from romildo/upd.uget 2017-09-01 18:20:00 +00:00
package-management nix: 1.11.13 -> 1.11.14 2017-08-31 11:00:09 +02:00
security john: workaroud for build failure 2017-09-01 11:05:01 -04:00
system meson/ninja: add setup hooks (#28444) 2017-08-27 19:42:21 +02:00
text Merge commit '2858c41' into HEAD 2017-08-30 21:07:07 +02:00
typesetting Merge pull request #28473 from lluchs/tectonic 2017-08-22 20:38:14 +01:00
video dvgrab: 3.5 -> 2016-05-16 2017-08-29 12:36:39 +01:00
virtualization pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
X11 xmacro: 0.3pre20000911 -> 0.4.6; switch upstream 2017-08-29 20:35:38 +02:00