From c00a24332c943580a8588a168414c1b3ba2126e0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 9 Jun 2023 18:42:17 +0200 Subject: [PATCH] python311Packages.dynalite-devices: 0.47 -> 0.1.48 Diff: https://github.com/ziv1234/python-dynalite-devices/compare/refs/tags/v0.47...0.1.48 Changelog: https://github.com/ziv1234/python-dynalite-devices/releases/tag/v0.1.48 --- .../python-modules/dynalite-devices/default.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/dynalite-devices/default.nix b/pkgs/development/python-modules/dynalite-devices/default.nix index 7827c46d43a1..cb899bb04c07 100644 --- a/pkgs/development/python-modules/dynalite-devices/default.nix +++ b/pkgs/development/python-modules/dynalite-devices/default.nix @@ -1,20 +1,23 @@ { lib , buildPythonPackage , fetchFromGitHub -, asynctest , pytest-asyncio , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "dynalite-devices"; - version = "0.47"; + version = "0.1.48"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "ziv1234"; repo = "python-dynalite-devices"; - rev = "refs/tags/v${version}"; # https://github.com/ziv1234/python-dynalite-devices/issues/2 - hash = "sha256-kJo4e5vhgWzijLUhQd9VBVk1URpg9SXhOA60dJYashM="; + rev = "refs/tags/v${version}"; + hash = "sha256-i88aIsRNsToSceQdwfspJg+Y5MO5zC4O6EkyhrYR27g="; }; postPatch = '' @@ -22,7 +25,6 @@ buildPythonPackage rec { ''; nativeCheckInputs = [ - asynctest pytest-asyncio pytestCheckHook ]; @@ -31,11 +33,14 @@ buildPythonPackage rec { "--asyncio-mode=auto" ]; - pythonImportsCheck = [ "dynalite_devices_lib" ]; + pythonImportsCheck = [ + "dynalite_devices_lib" + ]; meta = with lib; { description = "An unofficial Dynalite DyNET interface creating devices"; homepage = "https://github.com/ziv1234/python-dynalite-devices"; + changelog = "https://github.com/ziv1234/python-dynalite-devices/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; };