Files
nixpkgs/pkgs/development/python-modules/boschshcpy/default.nix
2026-06-20 21:11:12 +00:00

46 lines
935 B
Nix

{
lib,
buildPythonPackage,
cryptography,
fetchFromGitHub,
getmac,
requests,
setuptools,
zeroconf,
}:
buildPythonPackage (finalAttrs: {
pname = "boschshcpy";
version = "0.2.122";
pyproject = true;
src = fetchFromGitHub {
owner = "tschamm";
repo = "boschshcpy";
tag = "v${finalAttrs.version}";
hash = "sha256-s88PETRRw503ncGmBpR1DSuCAJERwKtOOD/jGmzTB6s=";
};
build-system = [ setuptools ];
dependencies = [
cryptography
getmac
requests
zeroconf
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "boschshcpy" ];
meta = {
description = "Python module to work with the Bosch Smart Home Controller API";
homepage = "https://github.com/tschamm/boschshcpy";
changelog = "https://github.com/tschamm/boschshcpy/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
})