depot/third_party/nixpkgs/pkgs/development/python-modules/siobrultech-protocols/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

44 lines
978 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
pyyaml,
}:
buildPythonPackage rec {
pname = "siobrultech-protocols";
version = "0.14.0";
disabled = pythonOlder "3.8";
format = "setuptools";
src = fetchFromGitHub {
owner = "sdwilsh";
repo = "siobrultech-protocols";
rev = "refs/tags/v${version}";
hash = "sha256-8tls2wlLA3wQ78gK4JvvhSWZS5oHRzzsKE73M4i1eyg=";
};
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
pyyaml
];
pythonImportsCheck = [
"siobrultech_protocols.gem.api"
"siobrultech_protocols.gem.protocol"
];
meta = with lib; {
description = "Sans-I/O Python client library for Brultech Devices";
homepage = "https://github.com/sdwilsh/siobrultech-protocols";
changelog = "https://github.com/sdwilsh/siobrultech-protocols/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}