python3Packages.zigpy-deconz: 0.11.0 -> 0.11.1
Fetch source from GitHub, the tests were removed from the PyPi tarball. Also migrate to pytestCheckHook.
This commit is contained in:
parent
70df4c8138
commit
30e508d8b2
@ -1,20 +1,29 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ lib
|
||||||
, pyserial, pyserial-asyncio, zigpy
|
, buildPythonPackage
|
||||||
, pytest, pytest-asyncio, asynctest }:
|
, fetchFromGitHub
|
||||||
|
, pyserial
|
||||||
|
, pyserial-asyncio
|
||||||
|
, zigpy
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-asyncio
|
||||||
|
, asynctest
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "zigpy-deconz";
|
pname = "zigpy-deconz";
|
||||||
version = "0.11.0";
|
version = "0.11.1";
|
||||||
|
|
||||||
propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ];
|
src = fetchFromGitHub {
|
||||||
checkInputs = [ pytest pytest-asyncio asynctest ];
|
owner = "zigpy";
|
||||||
|
repo = pname;
|
||||||
src = fetchPypi {
|
rev = version;
|
||||||
inherit pname version;
|
sha256 = "1p9mdsfc200iyszppcflazzfwqg4v8nqqwqsx114nip5km7a5s37";
|
||||||
sha256 = "a2263f8bc5807ebac55bb665eca553b514384ce270b66f83df02c39184193020";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ];
|
||||||
|
checkInputs = [ pytestCheckHook pytest-asyncio asynctest ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "Library which communicates with Deconz radios for zigpy";
|
description = "Library which communicates with Deconz radios for zigpy";
|
||||||
homepage = "https://github.com/zigpy/zigpy-deconz";
|
homepage = "https://github.com/zigpy/zigpy-deconz";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user