beets: Use pythonPackages.buildPythonApplication
The top-level attribute has been removed in commit 771ed59b48bc1257439b4529426cc9047aebc27b. This has been partially resolved in commit 18bdd44729a4e3d58220ed4789a91aabd20470dd. 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…
x
Reference in New Issue
Block a user