python310Packages.atc-ble: add changelog to meta

This commit is contained in:
Fabian Affolter 2023-02-13 09:52:30 +01:00
parent 8377d07b25
commit 5ee9d70e01

View File

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