a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
42 lines
875 B
Nix
42 lines
875 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchFromGitHub
|
|
, pytest-asyncio
|
|
, pytestCheckHook
|
|
, pyyaml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "siobrultech-protocols";
|
|
version = "0.7.0";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sdwilsh";
|
|
repo = "siobrultech-protocols";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-t8is68WrvLj57tNeM5AKuuvpn7kWbhbvoRnCI3+q4uE=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|