at master 978 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pythonOlder, 7 iso4217, 8 pyserial, 9 pyserial-asyncio-fast, 10 pytestCheckHook, 11 pytest-asyncio, 12}: 13 14buildPythonPackage rec { 15 pname = "aioraven"; 16 version = "0.7.1"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.9"; 20 21 src = fetchFromGitHub { 22 owner = "cottsay"; 23 repo = "aioraven"; 24 tag = version; 25 hash = "sha256-rGqaDJtpdDWd8fxdfwU+rmgwEzZyYHfbiZxUlWoH2ks="; 26 }; 27 28 build-system = [ setuptools ]; 29 30 dependencies = [ 31 iso4217 32 pyserial 33 pyserial-asyncio-fast 34 ]; 35 36 nativeCheckInputs = [ 37 pytest-asyncio 38 pytestCheckHook 39 ]; 40 41 pythonImportsCheck = [ "aioraven" ]; 42 43 meta = with lib; { 44 description = "Module for communication with RAVEn devices"; 45 homepage = "https://github.com/cottsay/aioraven"; 46 changelog = "https://github.com/cottsay/aioraven/blob/${version}/CHANGELOG.md"; 47 license = licenses.asl20; 48 maintainers = with maintainers; [ fab ]; 49 }; 50}