git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.bellows: Execute tests again
commit6ed5025067ef681d95192aaeffb6cf99ec640e96 authorSandro Jäckel <sandro.jaeckel@gmail.com> dateWed 20 Jan 2021, 11:24 (6 years ago) parent69d3c5d
1 file changed+13−12
pkgs/development/python-modules/bellows/default.nix+13−12
pkgs/development/python-modules/bellows/default.nix+13−12
@@ -1,26 +1,27 @@
1−{ lib, stdenv, buildPythonPackage, fetchPypi
1+{ lib, stdenv, buildPythonPackage, fetchFromGitHub
22, click, click-log, pure-pcapy3
3−, pyserial, pyserial-asyncio, voluptuous, zigpy
4−, asynctest, pytest, pytest-asyncio }:
3+, pyserial-asyncio, voluptuous, zigpy
4+, asynctest, pytestCheckHook, pytest-asyncio }:
55
6−let
6+buildPythonPackage rec {
77 pname = "bellows";
88 version = "0.21.0";
99
10−in buildPythonPackage rec {
11− inherit pname version;
12−
13− src = fetchPypi {
14− inherit pname version;
15− sha256 = "fd2ac40c1f3550580dc561ae58d7d15cfa12e6a7cc5d35ee80e7a1cb6a4cda4f";
10+ src = fetchFromGitHub {
11+ owner = "zigpy";
12+ repo = "bellows";
13+ rev = version;
14+ sha256 = "1gja7cb1cyzbi19k8awa2gyc3bjam0adapalpk5slxny0vxlc73a";
1615 };
1716
1817 propagatedBuildInputs = [
19− click click-log pure-pcapy3 pyserial pyserial-asyncio voluptuous zigpy
18+ click click-log pure-pcapy3 pyserial-asyncio voluptuous zigpy
2019 ];
2120
2221 checkInputs = [
23− asynctest pytest pytest-asyncio
22+ asynctest
23+ pytestCheckHook
24+ pytest-asyncio
2425 ];
2526
2627 prePatch = ''