about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyqtgraph/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pyqtgraph/default.nix')
-rw-r--r--pkgs/development/python-modules/pyqtgraph/default.nix62
1 files changed, 31 insertions, 31 deletions
diff --git a/pkgs/development/python-modules/pyqtgraph/default.nix b/pkgs/development/python-modules/pyqtgraph/default.nix
index e3e96571b1e8b..718b0be18477f 100644
--- a/pkgs/development/python-modules/pyqtgraph/default.nix
+++ b/pkgs/development/python-modules/pyqtgraph/default.nix
@@ -1,38 +1,36 @@
-{ lib
-, stdenv
-, buildPythonPackage
-, fetchFromGitHub
-, scipy
-, numpy
-, pyqt5
-, pyopengl
-, qt5
-, pytestCheckHook
-, freefont_ttf
-, makeFontsConf
-, setuptools
+{
+  lib,
+  stdenv,
+  buildPythonPackage,
+  fetchFromGitHub,
+  scipy,
+  numpy,
+  pyqt5,
+  pyopengl,
+  qt5,
+  pytestCheckHook,
+  freefont_ttf,
+  makeFontsConf,
+  setuptools,
+  python,
 }:
 
 let
-  fontsConf = makeFontsConf {
-    fontDirectories = [ freefont_ttf ];
-  };
+  fontsConf = makeFontsConf { fontDirectories = [ freefont_ttf ]; };
 in
 buildPythonPackage rec {
   pname = "pyqtgraph";
-  version = "0.13.4";
+  version = "0.13.7";
   format = "pyproject";
 
   src = fetchFromGitHub {
     owner = "pyqtgraph";
     repo = "pyqtgraph";
     rev = "refs/tags/pyqtgraph-${version}";
-    hash = "sha256-KVgsfvaVbR3eMRNqhJSBO4Hfk7KJgMdsZjKffx6vt84=";
+    hash = "sha256-MUwg1v6oH2TGmJ14Hp9i6KYierJbzPggK59QaHSXHVA=";
   };
 
-  nativeBuildInputs = [
-    setuptools
-  ];
+  nativeBuildInputs = [ setuptools ];
 
   propagatedBuildInputs = [
     numpy
@@ -55,23 +53,25 @@ buildPythonPackage rec {
     "tests"
   ];
 
-  disabledTests = lib.optionals (!stdenv.hostPlatform.isx86) [
-    # small precision-related differences on other architectures,
-    # upstream doesn't consider it serious.
-    # https://github.com/pyqtgraph/pyqtgraph/issues/2110
-    "test_PolyLineROI"
-  ] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
-    # https://github.com/pyqtgraph/pyqtgraph/issues/2645
-    "test_rescaleData"
-  ];
+  disabledTests =
+    lib.optionals (!stdenv.hostPlatform.isx86) [
+      # small precision-related differences on other architectures,
+      # upstream doesn't consider it serious.
+      # https://github.com/pyqtgraph/pyqtgraph/issues/2110
+      "test_PolyLineROI"
+    ]
+    ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
+      # https://github.com/pyqtgraph/pyqtgraph/issues/2645
+      "test_rescaleData"
+    ];
 
   meta = with lib; {
     description = "Scientific Graphics and GUI Library for Python";
     homepage = "https://www.pyqtgraph.org/";
     changelog = "https://github.com/pyqtgraph/pyqtgraph/blob/master/CHANGELOG";
     license = licenses.mit;
+    broken = lib.versionAtLeast python.version "3.12";
     platforms = platforms.unix;
     maintainers = with maintainers; [ koral ];
   };
-
 }