Merge pull request #216133 from fabaff/master

python310Packages.*-ble: add changelog to meta
This commit is contained in:
Fabian Affolter 2023-02-13 10:40:49 +01:00 committed by GitHub
commit 82b4c24705
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 37 additions and 26 deletions

View File

@ -45,6 +45,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Library for Airthings BLE devices"; description = "Library for Airthings BLE devices";
homepage = "https://github.com/vincegio/airthings-ble"; homepage = "https://github.com/vincegio/airthings-ble";
changelog = "https://github.com/vincegio/airthings-ble/releases/tag/v${version}";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View File

@ -19,10 +19,15 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Bluetooth-Devices"; owner = "Bluetooth-Devices";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-rwOFKxUlbbNIDJRdCmZpHstXwxcTnvlExgcVDdGbIVY="; hash = "sha256-rwOFKxUlbbNIDJRdCmZpHstXwxcTnvlExgcVDdGbIVY=";
}; };
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=atc_ble --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [ nativeBuildInputs = [
poetry-core poetry-core
]; ];
@ -37,11 +42,6 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=atc_ble --cov-report=term-missing:skip-covered" ""
'';
pythonImportsCheck = [ pythonImportsCheck = [
"atc_ble" "atc_ble"
]; ];
@ -49,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Library for ATC devices with custom firmware"; description = "Library for ATC devices with custom firmware";
homepage = "https://github.com/Bluetooth-Devices/atc-ble"; homepage = "https://github.com/Bluetooth-Devices/atc-ble";
changelog = "https://github.com/Bluetooth-Devices/atc-ble/releases/tag/v${version}";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View File

@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Bluetooth-Devices"; owner = "Bluetooth-Devices";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-iYgGflM0IpSIMNgPpJAFAl9FYoMfRinM3sP6VRcBSMc="; hash = "sha256-iYgGflM0IpSIMNgPpJAFAl9FYoMfRinM3sP6VRcBSMc=";
}; };
@ -49,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Library for iBeacon BLE devices"; description = "Library for iBeacon BLE devices";
homepage = "https://github.com/Bluetooth-Devices/ibeacon-ble"; homepage = "https://github.com/Bluetooth-Devices/ibeacon-ble";
changelog = "https://github.com/Bluetooth-Devices/ibeacon-ble/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View File

@ -20,7 +20,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Bluetooth-Devices"; owner = "Bluetooth-Devices";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-re5HjPtssFkpcltCr0HEJmJyHbXJdkr2wDgaAHfy2Tk="; hash = "sha256-re5HjPtssFkpcltCr0HEJmJyHbXJdkr2wDgaAHfy2Tk=";
}; };
@ -51,6 +51,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Library for Inkbird BLE devices"; description = "Library for Inkbird BLE devices";
homepage = "https://github.com/Bluetooth-Devices/inkbird-ble"; homepage = "https://github.com/Bluetooth-Devices/inkbird-ble";
changelog = "https://github.com/Bluetooth-Devices/inkbird-ble/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View File

@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Bluetooth-Devices"; owner = "Bluetooth-Devices";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-O5I5shW8nL2RAQptS2Bp/GI/4L6o0xXXmwYvRq0MM8o="; hash = "sha256-O5I5shW8nL2RAQptS2Bp/GI/4L6o0xXXmwYvRq0MM8o=";
}; };
@ -49,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Library for Kegtron BLE devices"; description = "Library for Kegtron BLE devices";
homepage = "https://github.com/Bluetooth-Devices/kegtron-ble"; homepage = "https://github.com/Bluetooth-Devices/kegtron-ble";
changelog = "https://github.com/Bluetooth-Devices/kegtron-ble/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View File

@ -20,7 +20,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Bluetooth-Devices"; owner = "Bluetooth-Devices";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-XAb/tJPUe/sNvcU7t63inMPBIz+AREioWXBuQa/c9T0="; hash = "sha256-XAb/tJPUe/sNvcU7t63inMPBIz+AREioWXBuQa/c9T0=";
}; };
@ -51,6 +51,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Library for LED BLE devices"; description = "Library for LED BLE devices";
homepage = "https://github.com/Bluetooth-Devices/led-ble"; homepage = "https://github.com/Bluetooth-Devices/led-ble";
changelog = "https://github.com/Bluetooth-Devices/led-ble/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View File

@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Bluetooth-Devices"; owner = "Bluetooth-Devices";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-dy1Fm0Z1PUsPY8QTiXUcWSi+csFnTUsobSkA92m06QI="; hash = "sha256-dy1Fm0Z1PUsPY8QTiXUcWSi+csFnTUsobSkA92m06QI=";
}; };
@ -49,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Library for Moat BLE devices"; description = "Library for Moat BLE devices";
homepage = "https://github.com/Bluetooth-Devices/moat-ble"; homepage = "https://github.com/Bluetooth-Devices/moat-ble";
changelog = "https://github.com/Bluetooth-Devices/moat-ble/releases/tag/v${version}";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View File

@ -23,8 +23,8 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "NordicSemiconductor"; owner = "NordicSemiconductor";
repo = "pc-ble-driver-py"; repo = "pc-ble-driver-py";
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-brC33ar2Jq3R2xdrklvVsQKf6pcnKwD25PO4TIvXgTg="; hash = "sha256-brC33ar2Jq3R2xdrklvVsQKf6pcnKwD25PO4TIvXgTg=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -57,8 +57,9 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Bluetooth Low Energy nRF5 SoftDevice serialization"; description = "Bluetooth Low Energy nRF5 SoftDevice serialization";
homepage = "https://github.com/NordicSemiconductor/pc-ble-driver-py"; homepage = "https://github.com/NordicSemiconductor/pc-ble-driver-py";
changelog = "https://github.com/NordicSemiconductor/pc-ble-driver-py/releases/tag/v${version}";
license = licenses.unfreeRedistributable; license = licenses.unfreeRedistributable;
platforms = platforms.unix;
maintainers = with maintainers; [ gebner ]; maintainers = with maintainers; [ gebner ];
platforms = platforms.unix;
}; };
} }

View File

@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bluetooth-devices"; owner = "bluetooth-devices";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-vfezalq3x9KAMtwixUkIVQIwBO2zd+BDl+JwdRqBn7w="; hash = "sha256-vfezalq3x9KAMtwixUkIVQIwBO2zd+BDl+JwdRqBn7w=";
}; };
@ -49,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Library for Qingping BLE devices"; description = "Library for Qingping BLE devices";
homepage = "https://github.com/bluetooth-devices/qingping-ble"; homepage = "https://github.com/bluetooth-devices/qingping-ble";
changelog = "https://github.com/Bluetooth-Devices/qingping-ble/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View File

@ -24,6 +24,11 @@ buildPythonPackage rec {
hash = "sha256-upTtVqxVHrqLSGTSGCiCVlDa2NEuuqe+0W2DM+UhTnc="; hash = "sha256-upTtVqxVHrqLSGTSGCiCVlDa2NEuuqe+0W2DM+UhTnc=";
}; };
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=rapt_ble --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [ nativeBuildInputs = [
poetry-core poetry-core
]; ];
@ -39,11 +44,6 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=rapt_ble --cov-report=term-missing:skip-covered" ""
'';
pythonImportsCheck = [ pythonImportsCheck = [
"rapt_ble" "rapt_ble"
]; ];
@ -51,6 +51,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Library for RAPT Pill hydrometer BLE devices"; description = "Library for RAPT Pill hydrometer BLE devices";
homepage = "https://github.com/sairon/rapt-ble"; homepage = "https://github.com/sairon/rapt-ble";
changelog = "https://github.com/sairon/rapt-ble/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View File

@ -19,10 +19,15 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Bluetooth-Devices"; owner = "Bluetooth-Devices";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-Zqa6qa0Jw79Iu4VEw6KN0GsZcC1X7OpiYUiyT4zwKyY="; hash = "sha256-Zqa6qa0Jw79Iu4VEw6KN0GsZcC1X7OpiYUiyT4zwKyY=";
}; };
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=sensorpro_ble --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [ nativeBuildInputs = [
poetry-core poetry-core
]; ];
@ -37,11 +42,6 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=sensorpro_ble --cov-report=term-missing:skip-covered" ""
'';
pythonImportsCheck = [ pythonImportsCheck = [
"sensorpro_ble" "sensorpro_ble"
]; ];

View File

@ -49,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Library for Thermopro BLE devices"; description = "Library for Thermopro BLE devices";
homepage = "https://github.com/bluetooth-devices/thermopro-ble"; homepage = "https://github.com/bluetooth-devices/thermopro-ble";
changelog = "https://github.com/Bluetooth-Devices/thermopro-ble/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };