beets: Use pythonPackages.buildPythonApplication

The top-level attribute has been removed in commit
771ed59b48.

This has been partially resolved in commit
18bdd44729.

The latter change however only addressed the main derivations but missed
out on the plugins. This is now done by just passing pythonPackages down
the chain.

Tested by only evaluating the expression, not building.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @domenkozar, @pjones, @profpatsch
This commit is contained in:
aszlig 2016-09-27 00:01:13 +02:00
parent d4c66e2f46
commit 900a04e6c9
No known key found for this signature in database
GPG Key ID: 1DE8E48E57DB5436
3 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, buildPythonApplication, fetchFromGitHub, pythonPackages }:
{ stdenv, fetchFromGitHub, pythonPackages }:
buildPythonApplication rec {
pythonPackages.buildPythonApplication rec {
name = "beets-alternatives-${version}";
version = "0.8.2";

View File

@ -1,6 +1,6 @@
{ stdenv, buildPythonApplication, fetchFromGitHub, pythonPackages }:
{ stdenv, fetchFromGitHub, pythonPackages }:
buildPythonApplication rec {
pythonPackages.buildPythonApplication rec {
name = "beets-copyartifacts";
src = fetchFromGitHub {

View File

@ -107,10 +107,10 @@ in pythonPackages.buildPythonApplication rec {
++ optional enableThumbnails pythonPackages.pyxdg
++ optional enableWeb pythonPackages.flask
++ optional enableAlternatives (import ./alternatives-plugin.nix {
inherit stdenv buildPythonApplication pythonPackages fetchFromGitHub;
inherit stdenv pythonPackages fetchFromGitHub;
})
++ optional enableCopyArtifacts (import ./copyartifacts-plugin.nix {
inherit stdenv buildPythonApplication pythonPackages fetchFromGitHub;
inherit stdenv pythonPackages fetchFromGitHub;
});
buildInputs = with pythonPackages; [