depot/third_party/nixpkgs/pkgs/development/python-modules/pycomfoconnect/default.nix
Default email be14b713bb Project import generated by Copybara.
GitOrigin-RevId: e5cc06a1e806070693add4f231060a62b962fc44
2021-04-17 02:35:05 +02:00

33 lines
704 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, protobuf
}:
buildPythonPackage rec {
pname = "pycomfoconnect";
version = "0.4";
src = fetchFromGitHub {
owner = "michaelarnauts";
repo = "comfoconnect";
rev = version;
sha256 = "0bipzv68yw056iz9m2g9h40hzrwd058a7crxp0xbq4rw2d8j0jn6";
};
propagatedBuildInputs = [
protobuf
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pycomfoconnect" ];
meta = with lib; {
description = "Python module to interact with ComfoAir Q350/450/600 units";
homepage = "https://github.com/michaelarnauts/comfoconnect";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}