python3Packages.boschshcpy: init at 0.2.18
This commit is contained in:
parent
438fadd2ea
commit
26eecaaf05
2 changed files with 43 additions and 0 deletions
41
pkgs/development/python-modules/boschshcpy/default.nix
Normal file
41
pkgs/development/python-modules/boschshcpy/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, cryptography
|
||||
, fetchFromGitHub
|
||||
, getmac
|
||||
, pythonOlder
|
||||
, requests
|
||||
, zeroconf
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boschshcpy";
|
||||
version = "0.2.18";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tschamm";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "08bfg3g0hifjaa17d4zmws2ikbijdm0b98svgj8jdcl8v0nlqx69";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -1124,6 +1124,8 @@ in {
|
|||
enablePython = true;
|
||||
});
|
||||
|
||||
boschshcpy = callPackage ../development/python-modules/boschshcpy { };
|
||||
|
||||
boto3 = callPackage ../development/python-modules/boto3 { };
|
||||
|
||||
boto = callPackage ../development/python-modules/boto { };
|
||||
|
|
Loading…
Reference in a new issue