Skip to content

Commit

Permalink
python310Packages.rapt-ble: add changelog to meta
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Feb 13, 2023
1 parent 106785f commit fdbf633
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pkgs/development/python-modules/rapt-ble/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
Expand All @@ -39,18 +44,14 @@ buildPythonPackage rec {
pytestCheckHook
];

postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=rapt_ble --cov-report=term-missing:skip-covered" ""
'';

pythonImportsCheck = [
"rapt_ble"
];

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

0 comments on commit fdbf633

Please sign in to comment.