about summary refs log tree commit diff
diff options
context:
space:
mode:
authoralyaeanyx <alexandra.hollmeier@mailbox.org>2022-06-24 11:44:49 +0200
committeralyaeanyx <alexandra.hollmeier@mailbox.org>2022-07-04 14:21:46 +0200
commit35278579b004a0f73646300d30c6fcedbf031dfa (patch)
treee969fad78f10199b028063f8ce2e571ed6624d0a
parentd95cf682d8717af96377df6fc806ce1efb12386b (diff)
downloadnixlib-35278579b004a0f73646300d30c6fcedbf031dfa.tar
nixlib-35278579b004a0f73646300d30c6fcedbf031dfa.tar.gz
nixlib-35278579b004a0f73646300d30c6fcedbf031dfa.tar.bz2
nixlib-35278579b004a0f73646300d30c6fcedbf031dfa.tar.lz
nixlib-35278579b004a0f73646300d30c6fcedbf031dfa.tar.xz
nixlib-35278579b004a0f73646300d30c6fcedbf031dfa.tar.zst
nixlib-35278579b004a0f73646300d30c6fcedbf031dfa.zip
friture: pin python to 3.9
-rw-r--r--pkgs/applications/audio/friture/default.nix8
-rw-r--r--pkgs/top-level/all-packages.nix4
2 files changed, 6 insertions, 6 deletions
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 { };