2022-05-25 00:59:09 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytest-asyncio
|
|
|
|
, pytestCheckHook
|
|
|
|
, pyyaml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "siobrultech-protocols";
|
2022-06-06 04:01:57 +01:00
|
|
|
version = "0.6.0";
|
2022-05-25 00:59:09 +01:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sdwilsh";
|
|
|
|
repo = "siobrultech-protocols";
|
|
|
|
rev = "v${version}";
|
2022-06-06 04:01:57 +01:00
|
|
|
hash = "sha256-d4zAwcSCyC78dJZtxFkpdYurxDRon2cRgzInllP2qJQ=";
|
2022-05-25 00:59:09 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest-asyncio
|
|
|
|
pytestCheckHook
|
|
|
|
pyyaml
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"siobrultech_protocols.gem.api"
|
|
|
|
"siobrultech_protocols.gem.protocol"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Sans-I/O Python client library for Brultech Devices";
|
|
|
|
homepage = "https://github.com/sdwilsh/siobrultech-protocols";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|