git.iko.soy/typeable/nixpkgs
on master help sign in
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

commit900a04e6c9953fbdc59d4a51bef8283594357d28 authoraszlig <aszlig@redmoonstudios.org> dateTue 27 Sep 2016, 00:01 (10 years ago) parentd4c66e2
3 files changed+6−6
pkgs/tools/audio/beets/alternatives-plugin.nix+2−2 pkgs/tools/audio/beets/copyartifacts-plugin.nix+2−2 pkgs/tools/audio/beets/default.nix+2−2
pkgs/tools/audio/beets/alternatives-plugin.nix+2−2
@@ -1,6 +1,6 @@
1−{ stdenv, buildPythonApplication, fetchFromGitHub, pythonPackages }:
1+{ stdenv, fetchFromGitHub, pythonPackages }:
22
3−buildPythonApplication rec {
3+pythonPackages.buildPythonApplication rec {
44 name = "beets-alternatives-${version}";
55 version = "0.8.2";
66
pkgs/tools/audio/beets/copyartifacts-plugin.nix+2−2
@@ -1,6 +1,6 @@
1−{ stdenv, buildPythonApplication, fetchFromGitHub, pythonPackages }:
1+{ stdenv, fetchFromGitHub, pythonPackages }:
22
3−buildPythonApplication rec {
3+pythonPackages.buildPythonApplication rec {
44 name = "beets-copyartifacts";
55
66 src = fetchFromGitHub {
pkgs/tools/audio/beets/default.nix+2−2
@@ -107,10 +107,10 @@ in pythonPackages.buildPythonApplication rec {
107107 ++ optional enableThumbnails pythonPackages.pyxdg
108108 ++ optional enableWeb pythonPackages.flask
109109 ++ optional enableAlternatives (import ./alternatives-plugin.nix {
110− inherit stdenv buildPythonApplication pythonPackages fetchFromGitHub;
110+ inherit stdenv pythonPackages fetchFromGitHub;
111111 })
112112 ++ optional enableCopyArtifacts (import ./copyartifacts-plugin.nix {
113− inherit stdenv buildPythonApplication pythonPackages fetchFromGitHub;
113+ inherit stdenv pythonPackages fetchFromGitHub;
114114 });
115115
116116 buildInputs = with pythonPackages; [