forked from mirrors/nixpkgs
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
|
||||
, pyserial, pyserial-asyncio, zigpy
|
||||
, pytest, pytest-asyncio, asynctest }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pyserial
|
||||
, pyserial-asyncio
|
||||
, zigpy
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, asynctest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy-deconz";
|
||||
version = "0.11.0";
|
||||
version = "0.11.1";
|
||||
|
||||
propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ];
|
||||
checkInputs = [ pytest pytest-asyncio asynctest ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a2263f8bc5807ebac55bb665eca553b514384ce270b66f83df02c39184193020";
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1p9mdsfc200iyszppcflazzfwqg4v8nqqwqsx114nip5km7a5s37";
|
||||
};
|
||||
|
||||
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";
|
||||
homepage = "https://github.com/zigpy/zigpy-deconz";
|
||||
license = licenses.gpl3Plus;
|
||||
|
|
Loading…
Reference in a new issue