about summary refs log tree commit diff
path: root/pkgs/development/python-modules/contexttimer/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/contexttimer/default.nix')
-rw-r--r--pkgs/development/python-modules/contexttimer/default.nix18
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/contexttimer/default.nix b/pkgs/development/python-modules/contexttimer/default.nix
index f908783fb0b63..de9917f0b5685 100644
--- a/pkgs/development/python-modules/contexttimer/default.nix
+++ b/pkgs/development/python-modules/contexttimer/default.nix
@@ -1,9 +1,11 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, mock
-, fetchpatch
-, python
+{
+  lib,
+  buildPythonPackage,
+  pythonAtLeast,
+  fetchFromGitHub,
+  mock,
+  fetchpatch,
+  python,
 }:
 
 buildPythonPackage rec {
@@ -11,6 +13,8 @@ buildPythonPackage rec {
   version = "unstable-2019-03-30";
   format = "setuptools";
 
+  disabled = pythonAtLeast "3.12";
+
   src = fetchFromGitHub {
     owner = "brouberol";
     repo = "contexttimer";
@@ -19,7 +23,7 @@ buildPythonPackage rec {
   };
 
   patches = [
-  # https://github.com/brouberol/contexttimer/pull/16
+    # https://github.com/brouberol/contexttimer/pull/16
     (fetchpatch {
       url = "https://github.com/brouberol/contexttimer/commit/dd65871f3f25a523a47a74f2f5306c57048592b0.patch";
       hash = "sha256-vNBuFXvuvb6hWPzg4W4iyKbd4N+vofhxsKydEkc25E4=";