depot/third_party/nixpkgs/pkgs/development/python-modules/systembridge/default.nix
Default email 6064764516 Project import generated by Copybara.
GitOrigin-RevId: 2cf9db0e3d45b9d00f16f2836cb1297bcadc475e
2021-10-14 08:43:12 +08:00

35 lines
736 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, websockets
}:
buildPythonPackage rec {
pname = "systembridge";
version = "2.2.0";
src = fetchFromGitHub {
owner = "timmo001";
repo = "system-bridge-connector-py";
rev = "v${version}";
sha256 = "sha256-VR5juaZdZaEo7S0XXJkspcKmH1alitNIWmI0g/dFBbM=";
};
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 ];
};
}