Merge pull request #285342 from fabaff/govee-ble-bump

python311Packages.govee-ble: 0.27.3 -> 0.31.0
This commit is contained in:
Fabian Affolter
2024-02-01 10:43:07 +01:00
committed by GitHub
@@ -12,18 +12,23 @@
buildPythonPackage rec {
pname = "govee-ble";
version = "0.27.3";
format = "pyproject";
version = "0.31.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "Bluetooth-Devices";
repo = pname;
repo = "govee-ble";
rev = "refs/tags/v${version}";
hash = "sha256-yMKZe2hEkBm9c/5QuFNQMVPsdHTx9lnEVysRlbntiVY=";
hash = "sha256-g4tOu4nrJx1DVk2KLfF6HIEM7vTkfBg2fd7R1j+Xwrk=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=govee_ble --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [
poetry-core
];
@@ -39,11 +44,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=govee_ble --cov-report=term-missing:skip-covered" ""
'';
pythonImportsCheck = [
"govee_ble"
];