diff --git a/pkgs/applications/audio/friture/default.nix b/pkgs/applications/audio/friture/default.nix index bb92af2dd5c5..eb702d086312 100644 --- a/pkgs/applications/audio/friture/default.nix +++ b/pkgs/applications/audio/friture/default.nix @@ -1,8 +1,6 @@ { lib, fetchFromGitHub, python3Packages, wrapQtAppsHook }: -let - py = python3Packages; -in py.buildPythonApplication rec { +python3Packages.buildPythonApplication rec { pname = "friture"; version = "0.49"; @@ -13,10 +11,10 @@ in py.buildPythonApplication rec { sha256 = "sha256-xKgyBV/Qc+9PgXyxcT0xG1GXLC6KnjavJ/0SUE+9VSY="; }; - nativeBuildInputs = (with py; [ numpy cython scipy ]) ++ + nativeBuildInputs = (with python3Packages; [ numpy cython scipy ]) ++ [ wrapQtAppsHook ]; - propagatedBuildInputs = with py; [ + propagatedBuildInputs = with python3Packages; [ sounddevice pyopengl pyopengl-accelerate diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1287351b98ef..d2a72b0c778f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26817,7 +26817,9 @@ with pkgs; freerdpUnstable = freerdp; - friture = libsForQt5.callPackage ../applications/audio/friture { }; + friture = libsForQt5.callPackage ../applications/audio/friture { + python3Packages = python39Packages; + }; fte = callPackage ../applications/editors/fte { };