From ce82f75de0e40b9d9f9569825edd01c21c03eecc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Feb 2023 09:56:29 +0100 Subject: [PATCH] python310Packages.rapt-ble: add changelog to meta --- pkgs/development/python-modules/rapt-ble/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/rapt-ble/default.nix b/pkgs/development/python-modules/rapt-ble/default.nix index 43ce88159721..7c4f104c8cde 100644 --- a/pkgs/development/python-modules/rapt-ble/default.nix +++ b/pkgs/development/python-modules/rapt-ble/default.nix @@ -24,6 +24,11 @@ buildPythonPackage rec { hash = "sha256-upTtVqxVHrqLSGTSGCiCVlDa2NEuuqe+0W2DM+UhTnc="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace " --cov=rapt_ble --cov-report=term-missing:skip-covered" "" + ''; + nativeBuildInputs = [ poetry-core ]; @@ -39,11 +44,6 @@ buildPythonPackage rec { pytestCheckHook ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace " --cov=rapt_ble --cov-report=term-missing:skip-covered" "" - ''; - pythonImportsCheck = [ "rapt_ble" ]; @@ -51,6 +51,7 @@ buildPythonPackage rec { meta = with lib; { description = "Library for RAPT Pill hydrometer BLE devices"; homepage = "https://github.com/sairon/rapt-ble"; + changelog = "https://github.com/sairon/rapt-ble/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };