depot/third_party/nixpkgs/pkgs/development/python-modules/homeconnect/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

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 ];
};
}