python310Packages.atc-ble: add changelog to meta

This commit is contained in:
Fabian Affolter
2023-02-13 09:52:30 +01:00
committed by Florian Brandes
parent c266735eda
commit 0c0f09b5a7

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 ];
}; };