1{ lib 2, asynctest 3, buildPythonPackage 4, click 5, fetchFromGitHub 6, justbackoff 7, pythonOlder 8, pytest-asyncio 9, pytestCheckHook 10}: 11 12buildPythonPackage rec { 13 pname = "nessclient"; 14 version = "0.10.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchFromGitHub { 20 owner = "nickw444"; 21 repo = pname; 22 rev = "refs/tags/${version}"; 23 sha256 = "sha256-zjUYdSHIMCB4cCAsOOQZ9YgmFTskzlTUs5z/xPFt01Q="; 24 }; 25 26 propagatedBuildInputs = [ 27 justbackoff 28 click 29 ]; 30 31 checkInputs = [ 32 asynctest 33 pytest-asyncio 34 pytestCheckHook 35 ]; 36 37 pythonImportsCheck = [ 38 "nessclient" 39 ]; 40 41 meta = with lib; { 42 description = "Python implementation/abstraction of the Ness D8x/D16x Serial Interface ASCII protocol"; 43 homepage = "https://github.com/nickw444/nessclient"; 44 license = with licenses; [ mit ]; 45 maintainers = with maintainers; [ fab ]; 46 }; 47}