depot/third_party/nixpkgs/pkgs/development/python-modules/siobrultech-protocols/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

43 lines
971 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pyyaml
}:
buildPythonPackage rec {
pname = "siobrultech-protocols";
version = "0.12.0";
disabled = pythonOlder "3.8";
format = "setuptools";
src = fetchFromGitHub {
owner = "sdwilsh";
repo = "siobrultech-protocols";
rev = "refs/tags/v${version}";
hash = "sha256-71iFZS5CLYXNw57psLXswNJKfvbeKOqSncLoSsNXqjc=";
};
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
pyyaml
];
pythonImportsCheck = [
"siobrultech_protocols.gem.api"
"siobrultech_protocols.gem.protocol"
];
meta = with lib; {
description = "A 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 ];
};
}