uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
70
pkgs/development/python-modules/zigpy/default.nix
Normal file
70
pkgs/development/python-modules/zigpy/default.nix
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aiosqlite
|
||||
, asynctest
|
||||
, buildPythonPackage
|
||||
, crccheck
|
||||
, cryptography
|
||||
, fetchFromGitHub
|
||||
, pycryptodome
|
||||
, pytest-aiohttp
|
||||
, pytest-timeout
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, voluptuous
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy";
|
||||
version = "0.46.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "zigpy";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-YCkNjygNSvGNuhP7N1apCWYevl18GASgUFSSTLHj2YU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
aiosqlite
|
||||
crccheck
|
||||
cryptography
|
||||
pycryptodome
|
||||
voluptuous
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-aiohttp
|
||||
pytest-timeout
|
||||
pytestCheckHook
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
asynctest
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# RuntimeError: coroutine 'test_remigrate_forcibly_downgraded_v4' was never awaited
|
||||
#"test_remigrate_forcibly_downgraded_v4"
|
||||
# RuntimeError: Event loop is closed
|
||||
#"test_startup"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"zigpy.application"
|
||||
"zigpy.config"
|
||||
"zigpy.exceptions"
|
||||
"zigpy.types"
|
||||
"zigpy.zcl"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library implementing a ZigBee stack";
|
||||
homepage = "https://github.com/zigpy/zigpy";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ etu mvnetbiz ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue