depot/third_party/nixpkgs/pkgs/development/python-modules/siobrultech-protocols/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

42 lines
859 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pyyaml
}:
buildPythonPackage rec {
pname = "siobrultech-protocols";
version = "0.6.0";
disabled = pythonOlder "3.8";
format = "setuptools";
src = fetchFromGitHub {
owner = "sdwilsh";
repo = "siobrultech-protocols";
rev = "v${version}";
hash = "sha256-d4zAwcSCyC78dJZtxFkpdYurxDRon2cRgzInllP2qJQ=";
};
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 ];
};
}