diff options
author | Elis Hirwing <elis@hirwing.se> | 2019-11-29 18:25:43 +0100 |
---|---|---|
committer | Elis Hirwing <elis@hirwing.se> | 2019-12-07 12:50:07 +0100 |
commit | 9153236a5e65ecee53289999a841b063809f9556 (patch) | |
tree | b689accc652c8d9e278d472e9c0a9daa1d799cde | |
parent | 473a21f39efc5d8b651de890844a121b920abf53 (diff) | |
download | nixpkgs-9153236a5e65ecee53289999a841b063809f9556.tar nixpkgs-9153236a5e65ecee53289999a841b063809f9556.tar.gz nixpkgs-9153236a5e65ecee53289999a841b063809f9556.tar.bz2 nixpkgs-9153236a5e65ecee53289999a841b063809f9556.tar.lz nixpkgs-9153236a5e65ecee53289999a841b063809f9556.tar.xz nixpkgs-9153236a5e65ecee53289999a841b063809f9556.tar.zst nixpkgs-9153236a5e65ecee53289999a841b063809f9556.zip |
python3Packages.zigpy: init at 0.11.0
-rw-r--r-- | pkgs/development/python-modules/zigpy/default.nix | 25 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/zigpy/default.nix b/pkgs/development/python-modules/zigpy/default.nix new file mode 100644 index 00000000000..726f1fde4e6 --- /dev/null +++ b/pkgs/development/python-modules/zigpy/default.nix @@ -0,0 +1,25 @@ +{ stdenv, buildPythonPackage, fetchPypi +, aiohttp, crccheck, pycryptodome, pycrypto +, pytest, pytest-asyncio, asynctest }: + +buildPythonPackage rec { + pname = "zigpy-homeassistant"; + version = "0.11.0"; + + nativeBuildInputs = [ pytest pytest-asyncio asynctest ]; + buildInputs = [ aiohttp pycryptodome ]; + propagatedBuildInputs = [ crccheck pycrypto ]; + + src = fetchPypi { + inherit pname version; + sha256 = "021wg9yhz8dsif60r8s5621mf63bsayjjb2bimhq0am03ql0fysl"; + }; + + meta = with stdenv.lib; { + description = "Library implementing a ZigBee stack"; + homepage = "https://github.com/zigpy/zigpy"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ etu ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3436095c5e8..52933486b45 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2276,6 +2276,8 @@ in { zict = callPackage ../development/python-modules/zict { }; + zigpy = callPackage ../development/python-modules/zigpy { }; + digital-ocean = callPackage ../development/python-modules/digitalocean { }; leather = callPackage ../development/python-modules/leather { }; |