python3Packages.zigpy-znp: init at 0.2.2, add tests
This commit is contained in:
parent
b9a82c26a3
commit
760e367b6d
55
pkgs/development/python-modules/zigpy-znp/default.nix
Normal file
55
pkgs/development/python-modules/zigpy-znp/default.nix
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
{ stdenv
|
||||||
|
, async-timeout
|
||||||
|
, asynctest
|
||||||
|
, buildPythonPackage
|
||||||
|
, coloredlogs
|
||||||
|
, coveralls
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pyserial
|
||||||
|
, pyserial-asyncio
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytest-mock
|
||||||
|
, pytest-timeout
|
||||||
|
, pytestcov
|
||||||
|
, pytestCheckHook
|
||||||
|
, voluptuous
|
||||||
|
, zigpy }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "zigpy-znp";
|
||||||
|
version = "0.2.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "zha-ng";
|
||||||
|
repo = "zigpy-znp";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "a98RYPvcYE1NPERmPo1jPwMf86N+0297u4pOKuaB6u4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
async-timeout
|
||||||
|
coloredlogs
|
||||||
|
pyserial
|
||||||
|
pyserial-asyncio
|
||||||
|
voluptuous
|
||||||
|
zigpy
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
asynctest
|
||||||
|
coveralls
|
||||||
|
pytest-asyncio
|
||||||
|
pytest-mock
|
||||||
|
pytest-timeout
|
||||||
|
pytestcov
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A library for zigpy which communicates with TI ZNP radios";
|
||||||
|
homepage = "https://github.com/zha-ng/zigpy-znp";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ mvnetbiz ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -7808,6 +7808,8 @@ in {
|
||||||
|
|
||||||
zigpy-zigate = callPackage ../development/python-modules/zigpy-zigate { };
|
zigpy-zigate = callPackage ../development/python-modules/zigpy-zigate { };
|
||||||
|
|
||||||
|
zigpy-znp = callPackage ../development/python-modules/zigpy-znp { };
|
||||||
|
|
||||||
zimports = callPackage ../development/python-modules/zimports { };
|
zimports = callPackage ../development/python-modules/zimports { };
|
||||||
|
|
||||||
zipfile36 = callPackage ../development/python-modules/zipfile36 { };
|
zipfile36 = callPackage ../development/python-modules/zipfile36 { };
|
||||||
|
|
Loading…
Reference in a new issue