beets: Use pythonPackages.buildPythonApplication
The top-level attribute has been removed in commit771ed59b48
. This has been partially resolved in commit18bdd44729
. 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:
parent
d4c66e2f46
commit
900a04e6c9
@ -1,6 +1,6 @@
|
||||
{ stdenv, buildPythonApplication, fetchFromGitHub, pythonPackages }:
|
||||
{ stdenv, fetchFromGitHub, pythonPackages }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
name = "beets-alternatives-${version}";
|
||||
version = "0.8.2";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, buildPythonApplication, fetchFromGitHub, pythonPackages }:
|
||||
{ stdenv, fetchFromGitHub, pythonPackages }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
name = "beets-copyartifacts";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -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; [
|
||||
|
Loading…
Reference in New Issue
Block a user