1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

Merge pull request #228987 from fabaff/ld2410-ble-bump

python310Packages.ld2410-ble: 0.1.1 -> 0.2.0
This commit is contained in:
Fabian Affolter 2023-05-01 00:22:54 +02:00 committed by GitHub
commit 3a60b3f3bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 8 deletions

View file

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "ld2410-ble";
version = "0.1.1";
version = "0.2.0";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -20,9 +20,14 @@ buildPythonPackage rec {
owner = "930913";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-D8Z3OXlXWsaN0Ck9gx//J9TCaQmirYDbaXK7aTpI7ns=";
hash = "sha256-wQnE2hNT0UOnPJbHq1eayIO8g0XRZvEH6V19DL6RqoA=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=ld2410_ble --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [
poetry-core
];
@ -37,11 +42,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=ld2410_ble --cov-report=term-missing:skip-covered" ""
'';
pythonImportsCheck = [
"ld2410_ble"
];

View file

@ -1961,11 +1961,12 @@
esphome-dashboard-api
fnvhash
ifaddr
ld2410-ble
pyserial
pyudev
sqlalchemy
zeroconf
]; # missing inputs: ld2410-ble
];
"led_ble" = ps: with ps; [
aioesphomeapi
aiohttp-cors
@ -4680,6 +4681,7 @@
"launch_library"
"laundrify"
"lcn"
"ld2410_ble"
"led_ble"
"lg_soundbar"
"lidarr"

View file

@ -5422,6 +5422,8 @@ self: super: with self; {
lcov_cobertura = callPackage ../development/python-modules/lcov_cobertura { };
ld2410-ble = callPackage ../development/python-modules/ld2410-ble { };
ldap3 = callPackage ../development/python-modules/ldap3 { };
ldapdomaindump = callPackage ../development/python-modules/ldapdomaindump { };