depot/third_party/nixpkgs/pkgs/development/python-modules/boschshcpy/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

47 lines
905 B
Nix

{
lib,
buildPythonPackage,
cryptography,
fetchFromGitHub,
getmac,
pythonOlder,
requests,
setuptools,
zeroconf,
}:
buildPythonPackage rec {
pname = "boschshcpy";
version = "0.2.91";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "tschamm";
repo = "boschshcpy";
rev = "refs/tags/${version}";
hash = "sha256-lQDYJrla2iDk1MbLHjBGP3ZcZ1djD3bWhz15RaBFMgg=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
cryptography
getmac
requests
zeroconf
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "boschshcpy" ];
meta = with lib; {
description = "Python module to work with the Bosch Smart Home Controller API";
homepage = "https://github.com/tschamm/boschshcpy";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};
}