python311Packages.systembridgeconnector: init at 4.0.1

This commit is contained in:
Robert Schütz 2024-02-24 21:15:31 -08:00
parent f2cd1230bf
commit a05bba99fd
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, setuptools
, aiohttp
, incremental
, systembridgemodels
}:
buildPythonPackage rec {
pname = "systembridgeconnector";
version = "4.0.1";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "timmo001";
repo = "system-bridge-connector";
rev = "refs/tags/${version}";
hash = "sha256-dMOhw7e2sCmGItsgGcGxYVCIJM2FBm6IyxIQXPtY+Pg=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
incremental
systembridgemodels
];
pythonImportsCheck = [ "systembridgeconnector" ];
# upstream has no tests
doCheck = false;
meta = {
changelog = "https://github.com/timmo001/system-bridge-connector/releases/tag/${version}";
description = "This is the connector package for the System Bridge project";
homepage = "https://github.com/timmo001/system-bridge-connector";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -14198,6 +14198,8 @@ self: super: with self; {
systembridge = callPackage ../development/python-modules/systembridge { };
systembridgeconnector = callPackage ../development/python-modules/systembridgeconnector { };
systembridgemodels = callPackage ../development/python-modules/systembridgemodels { };
systemd = callPackage ../development/python-modules/systemd {