diff options
author | Marco Orovecchia <marco@orovecchia.at> | 2020-03-20 12:43:07 +0100 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-04-10 12:17:42 -0700 |
commit | 6e72b95a9372ee1ae2a8f5eea1f43916c467ccd3 (patch) | |
tree | 74e91f801f0bc91f1bc8384568c4cf05d086b2e5 /pkgs/development/python-modules/aioharmony | |
parent | aa084e2a2409e59528421d72d47e049acd7d26ef (diff) |
pythonPackages.aioharmony: init at 0.2.1
Diffstat (limited to 'pkgs/development/python-modules/aioharmony')
-rw-r--r-- | pkgs/development/python-modules/aioharmony/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aioharmony/default.nix b/pkgs/development/python-modules/aioharmony/default.nix new file mode 100644 index 0000000000000..13769bbeaed31 --- /dev/null +++ b/pkgs/development/python-modules/aioharmony/default.nix @@ -0,0 +1,28 @@ +{ lib, buildPythonPackage, fetchPypi, isPy3k, slixmpp, async-timeout, aiohttp }: + +buildPythonPackage rec { + pname = "aioharmony"; + version = "0.2.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "8c8f6e3b776e4e7eba5a1d2ae739aac6a1dd558a7f15951c34ffe0ee28f7f538"; + }; + + disabled = !isPy3k; + + #aioharmony does not seem to include tests + doCheck = false; + + pythonImportsCheck = [ "aioharmony.harmonyapi" "aioharmony.harmonyclient" ]; + + propagatedBuildInputs = [ slixmpp async-timeout aiohttp ]; + + meta = with lib; { + homepage = "https://github.com/ehendrix23/aioharmony"; + description = + "Asyncio Python library for connecting to and controlling the Logitech Harmony"; + license = licenses.asl20; + maintainers = with maintainers; [ oro ]; + }; +} |