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 e1bb2dcf0e46..9313dc44862a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27145,7 +27145,9 @@ with pkgs; freerdpUnstable = freerdp; - friture = libsForQt5.callPackage ../applications/audio/friture { }; + friture = libsForQt5.callPackage ../applications/audio/friture { + python3Packages = python39Packages; + }; fte = callPackage ../applications/editors/fte { };