mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
python311Packages.ibeacon-ble: 1.0.1 -> 1.2.0
Diff: https://github.com/Bluetooth-Devices/ibeacon-ble/compare/refs/tags/v1.0.1...v1.2.0 Changelog: https://github.com/Bluetooth-Devices/ibeacon-ble/blob/v1.2.0/CHANGELOG.md
This commit is contained in:
parent
46fe45cf25
commit
139eb03b71
|
@ -1,5 +1,6 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aiooui
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, home-assistant-bluetooth
|
||||
|
@ -11,21 +12,21 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "ibeacon-ble";
|
||||
version = "1.0.1";
|
||||
format = "pyproject";
|
||||
version = "1.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = pname;
|
||||
repo = "ibeacon-ble";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-iYgGflM0IpSIMNgPpJAFAl9FYoMfRinM3sP6VRcBSMc=";
|
||||
hash = "sha256-1liSWxduYpjIMu7226EH4bsc7gca5g/fyL79W4ZMdU4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace " --cov=ibeacon_ble --cov-report=term-missing:skip-covered" ""
|
||||
--replace-fail " --cov=ibeacon_ble --cov-report=term-missing:skip-covered" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -34,6 +35,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
aiooui
|
||||
home-assistant-bluetooth
|
||||
mac-vendor-lookup
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue