depot/third_party/nixpkgs/pkgs/development/python-modules/systembridge/default.nix
Default email 48d4c8cc3c Project import generated by Copybara.
GitOrigin-RevId: 6ef4f522d63f22b40004319778761040d3197390
2021-08-08 17:34:03 -06:00

35 lines
737 B
Nix

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