python3Packages.zigpy: 0.22.2 -> 0.26.0, add tests
This commit is contained in:
parent
303e7d6ef4
commit
6315b00879
|
@ -1,20 +1,44 @@
|
||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ lib
|
||||||
, aiohttp, crccheck, pycryptodome, pycrypto, voluptuous
|
, aiohttp
|
||||||
, pytest, pytest-asyncio, asynctest }:
|
, asynctest
|
||||||
|
, buildPythonPackage
|
||||||
|
, crccheck
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pycrypto
|
||||||
|
, pycryptodome
|
||||||
|
, pytest-aiohttp
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestCheckHook
|
||||||
|
, tox
|
||||||
|
, voluptuous }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "zigpy";
|
pname = "zigpy";
|
||||||
version = "0.22.2";
|
version = "0.26.0";
|
||||||
|
|
||||||
propagatedBuildInputs = [ aiohttp crccheck pycrypto pycryptodome voluptuous ];
|
src = fetchFromGitHub {
|
||||||
checkInputs = [ pytest pytest-asyncio asynctest ];
|
owner = "zigpy";
|
||||||
|
repo = "zigpy";
|
||||||
src = fetchPypi {
|
rev = version;
|
||||||
inherit pname version;
|
sha256 = "ba8Ru6RCbFOHhctFtklnrxVD3uEpxF4XDvO5RMgXPBs=";
|
||||||
sha256 = "a43129932c6e4af0d2d57542218faf7695e2424ce18a5a8915d016e1303f5e44";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
crccheck
|
||||||
|
pycrypto
|
||||||
|
pycryptodome
|
||||||
|
voluptuous
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
asynctest
|
||||||
|
pytest-aiohttp
|
||||||
|
pytest-asyncio
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "Library implementing a ZigBee stack";
|
description = "Library implementing a ZigBee stack";
|
||||||
homepage = "https://github.com/zigpy/zigpy";
|
homepage = "https://github.com/zigpy/zigpy";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
|
|
Loading…
Reference in a new issue