depot/third_party/nixpkgs/pkgs/development/python-modules/homeconnect/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

42 lines
856 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
requests,
requests-oauthlib,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "homeconnect";
version = "0.8.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-W475a+TlGiKRR1EDYiFVmApmQfmft85iBQLRnbEmcuA=";
};
build-system = [ setuptools ];
dependencies = [
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 = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}