eeb71630af
GitOrigin-RevId: 636051e353461f073ac55d5d42c1ed062a345046
42 lines
869 B
Nix
42 lines
869 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=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|