about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyheos/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pyheos/default.nix')
-rw-r--r--pkgs/development/python-modules/pyheos/default.nix28
1 files changed, 14 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/pyheos/default.nix b/pkgs/development/python-modules/pyheos/default.nix
index 1600baba392d..15f1f30a1fa3 100644
--- a/pkgs/development/python-modules/pyheos/default.nix
+++ b/pkgs/development/python-modules/pyheos/default.nix
@@ -1,23 +1,26 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, pythonAtLeast
-, pytest-asyncio
-, pytestCheckHook
+{
+  lib,
+  buildPythonPackage,
+  fetchFromGitHub,
+  setuptools,
+  pytest-asyncio,
+  pytestCheckHook,
 }:
 
 buildPythonPackage rec {
   pname = "pyheos";
-  version = "0.7.2";
-  format = "setuptools";
+  version = "0.7.4";
+  pyproject = true;
 
   src = fetchFromGitHub {
     owner = "andrewsayre";
     repo = "pyheos";
-    rev = version;
-    sha256 = "0rgzg7lnqzzqrjp73c1hj1hq8p0j0msyih3yr4wa2rj81s8ihmby";
+    rev = "refs/tags/${version}";
+    hash = "sha256-vz81FepXWcCdlY1v7ozp+/l+XpYb91mNmRiLKwjrC4A=";
   };
 
+  build-system = [ setuptools ];
+
   nativeCheckInputs = [
     pytest-asyncio
     pytestCheckHook
@@ -26,15 +29,12 @@ buildPythonPackage rec {
   disabledTests = [
     # accesses network
     "test_connect_timeout"
-  ] ++ lib.optionals (pythonAtLeast "3.12") [
-    # stuck in epoll
-    "test_disconnect"
-    "test_commands_fail_when_disconnected"
   ];
 
   pythonImportsCheck = [ "pyheos" ];
 
   meta = with lib; {
+    changelog = "https://github.com/andrewsayre/pyheos/releases/tag/${version}";
     description = "Async python library for controlling HEOS devices through the HEOS CLI Protocol";
     homepage = "https://github.com/andrewsayre/pyheos";
     license = licenses.asl20;