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/hap-python/default.nix
Normal file
70
pkgs/development/python-modules/hap-python/default.nix
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, base36
|
||||
, cryptography
|
||||
, curve25519-donna
|
||||
, ecdsa
|
||||
, fetchFromGitHub
|
||||
, h11
|
||||
, pyqrcode
|
||||
, pytest-asyncio
|
||||
, pytest-timeout
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, zeroconf
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hap-python";
|
||||
version = "4.4.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ikalchev";
|
||||
repo = "HAP-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-dSiI2W4U4FYwMRBInpxb/wkQLKxPzLHIkLPNgiZEhUA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
base36
|
||||
cryptography
|
||||
curve25519-donna
|
||||
ecdsa
|
||||
h11
|
||||
pyqrcode
|
||||
zeroconf
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-asyncio
|
||||
pytest-timeout
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Disable tests requiring network access
|
||||
"tests/test_accessory_driver.py"
|
||||
"tests/test_hap_handler.py"
|
||||
"tests/test_hap_protocol.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_persist_and_load"
|
||||
"test_we_can_connect"
|
||||
"test_idle_connection_cleanup"
|
||||
"test_we_can_start_stop"
|
||||
"test_push_event"
|
||||
"test_bridge_run_stop"
|
||||
"test_migration_to_include_client_properties"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyhap" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ikalchev/HAP-python";
|
||||
description = "HomeKit Accessory Protocol implementation in python";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ oro ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue