3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/boschshcpy/default.nix
2021-12-19 21:11:52 +01:00

46 lines
832 B
Nix

{ lib
, buildPythonPackage
, cryptography
, fetchFromGitHub
, getmac
, pythonOlder
, requests
, zeroconf
}:
buildPythonPackage rec {
pname = "boschshcpy";
version = "0.2.27";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "tschamm";
repo = pname;
rev = version;
sha256 = "sha256-xlkLMCLo1tut1mLj/L9YcRn16+GVKXJSSkpClBh1ujI=";
};
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 ];
};
}