diff options
author | Robert Schütz <rschuetz17@gmail.com> | 2019-05-20 13:30:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-20 13:30:06 +0200 |
commit | 042d76fc1b9b0fe905135f65a02b6fe0ea6b2571 (patch) | |
tree | f713942a445e71e2e062eba7060dab2e13bec39f | |
parent | 4e674aa157836b5594e6a3d3ea89ee69a8bfb7c7 (diff) | |
parent | d5e745f4120db10f9d417d4addad649f8f113600 (diff) | |
download | nixlib-042d76fc1b9b0fe905135f65a02b6fe0ea6b2571.tar nixlib-042d76fc1b9b0fe905135f65a02b6fe0ea6b2571.tar.gz nixlib-042d76fc1b9b0fe905135f65a02b6fe0ea6b2571.tar.bz2 nixlib-042d76fc1b9b0fe905135f65a02b6fe0ea6b2571.tar.lz nixlib-042d76fc1b9b0fe905135f65a02b6fe0ea6b2571.tar.xz nixlib-042d76fc1b9b0fe905135f65a02b6fe0ea6b2571.tar.zst nixlib-042d76fc1b9b0fe905135f65a02b6fe0ea6b2571.zip |
Merge pull request #60947 from delroth/netatmo-hass
Fix home-assistant netatmo support
-rw-r--r-- | pkgs/development/python-modules/pyatmo/default.nix | 24 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyatmo/default.nix b/pkgs/development/python-modules/pyatmo/default.nix new file mode 100644 index 000000000000..13f8efbb5813 --- /dev/null +++ b/pkgs/development/python-modules/pyatmo/default.nix @@ -0,0 +1,24 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "pyatmo"; + version = "1.10"; + + src = fetchPypi { + inherit pname version; + sha256 = "13ca794416707b8cefcb7584bbfff65a4640fcc2510ad73e818fef94d424fca6"; + }; + + # Upstream provides no unit tests. + doCheck = false; + + meta = with lib; { + description = "Simple API to access Netatmo weather station data"; + license = licenses.mit; + homepage = https://github.com/jabesq/netatmo-api-python; + maintainers = with maintainers; [ delroth ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e3106727392b..7c7ad28bfff9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3802,6 +3802,8 @@ in { pyasn1-modules = callPackage ../development/python-modules/pyasn1-modules { }; + pyatmo = callPackage ../development/python-modules/pyatmo { }; + pyaudio = callPackage ../development/python-modules/pyaudio { }; pysam = callPackage ../development/python-modules/pysam { }; |