5e2a688410
GitOrigin-RevId: 5e2018f7b383aeca6824a30c0cd1978c9532a46a
35 lines
737 B
Nix
35 lines
737 B
Nix
{ lib
|
|
, aiohttp
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, websockets
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "systembridge";
|
|
version = "2.1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "timmo001";
|
|
repo = "system-bridge-connector-py";
|
|
rev = "v${version}";
|
|
sha256 = "1p0w1phmlifkag7inx8395g8li13r4b7dvgkpj6fysdi42glvvxp";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|