Fabian Affolter 2023-06-09 18:42:17 +02:00
parent a175ac6ba8
commit c00a24332c

View file

@ -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 ];
};