8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
33 lines
753 B
Nix
33 lines
753 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
, requests_oauthlib
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "homeconnect";
|
|
version = "0.7.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-/h0dEVmP0R9tVt56mvu72Ksrvnuox1FA7BgrZMOhV6Q=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
requests_oauthlib
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "homeconnect" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python client for the BSH Home Connect REST API";
|
|
homepage = "https://github.com/DavidMStraub/homeconnect";
|
|
changelog = "https://github.com/DavidMStraub/homeconnect/releases/tag/v${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|