Merge pull request #236881 from fabaff/dynalite-devices-bump

python311Packages.dynalite-devices: 0.47 -> 0.1.48
This commit is contained in:
Fabian Affolter 2023-06-10 12:13:03 +02:00 committed by GitHub
commit 4d5d28f46f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,23 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, asynctest
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dynalite-devices"; pname = "dynalite-devices";
version = "0.47"; version = "0.1.48";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ziv1234"; owner = "ziv1234";
repo = "python-dynalite-devices"; repo = "python-dynalite-devices";
rev = "refs/tags/v${version}"; # https://github.com/ziv1234/python-dynalite-devices/issues/2 rev = "refs/tags/v${version}";
hash = "sha256-kJo4e5vhgWzijLUhQd9VBVk1URpg9SXhOA60dJYashM="; hash = "sha256-i88aIsRNsToSceQdwfspJg+Y5MO5zC4O6EkyhrYR27g=";
}; };
postPatch = '' postPatch = ''
@ -22,7 +25,6 @@ buildPythonPackage rec {
''; '';
nativeCheckInputs = [ nativeCheckInputs = [
asynctest
pytest-asyncio pytest-asyncio
pytestCheckHook pytestCheckHook
]; ];
@ -31,11 +33,14 @@ buildPythonPackage rec {
"--asyncio-mode=auto" "--asyncio-mode=auto"
]; ];
pythonImportsCheck = [ "dynalite_devices_lib" ]; pythonImportsCheck = [
"dynalite_devices_lib"
];
meta = with lib; { meta = with lib; {
description = "An unofficial Dynalite DyNET interface creating devices"; description = "An unofficial Dynalite DyNET interface creating devices";
homepage = "https://github.com/ziv1234/python-dynalite-devices"; homepage = "https://github.com/ziv1234/python-dynalite-devices";
changelog = "https://github.com/ziv1234/python-dynalite-devices/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ dotlambda ]; maintainers = with maintainers; [ dotlambda ];
}; };