diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-06-02 13:28:05 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-06-11 11:44:36 +0200 |
commit | 26eecaaf05235d392607af74aad78a0491e109fd (patch) | |
tree | 8834ffcb60cacd8a8479ee5885fe484230d35fee /pkgs/development/python-modules/boschshcpy/default.nix | |
parent | 438fadd2ea780669ac361778b25c2bc53b91ce09 (diff) |
python3Packages.boschshcpy: init at 0.2.18
Diffstat (limited to 'pkgs/development/python-modules/boschshcpy/default.nix')
-rw-r--r-- | pkgs/development/python-modules/boschshcpy/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/boschshcpy/default.nix b/pkgs/development/python-modules/boschshcpy/default.nix new file mode 100644 index 0000000000000..0ac1cbc83c752 --- /dev/null +++ b/pkgs/development/python-modules/boschshcpy/default.nix @@ -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 ]; + }; +} |