depot/third_party/nixpkgs/pkgs/development/python-modules/systembridge/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

35 lines
736 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, websockets
}:
buildPythonPackage rec {
pname = "systembridge";
version = "2.2.3";
src = fetchFromGitHub {
owner = "timmo001";
repo = "system-bridge-connector-py";
rev = "v${version}";
sha256 = "sha256-AVMZBhf15eZM9oMUFyiHYs866P1v5z1pbTvX2Qpjzfc=";
};
propagatedBuildInputs = [
aiohttp
websockets
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "systembridge" ];
meta = with lib; {
description = "Python module for connecting to System Bridge";
homepage = "https://github.com/timmo001/system-bridge-connector-py";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}