mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
python311Packages.weconnect-mqtt: 0.48.3 -> 0.48.4
Diff: https://github.com/tillsteinbach/WeConnect-mqtt/compare/refs/tags/v0.48.3...v0.48.4 Changelog: https://github.com/tillsteinbach/WeConnect-mqtt/releases/tag/v0.48.4
This commit is contained in:
parent
5b0d65938d
commit
e4b22d1f92
@ -6,12 +6,13 @@
|
||||
, paho-mqtt
|
||||
, python-dateutil
|
||||
, weconnect
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "weconnect-mqtt";
|
||||
version = "0.48.4";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
@ -23,15 +24,19 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "weconnect[Images]~=" "weconnect>="
|
||||
substituteInPlace weconnect_mqtt/__version.py \
|
||||
--replace "develop" "${version}"
|
||||
--replace-fail "0.0.0dev" "${version}"
|
||||
substituteInPlace requirements.txt \
|
||||
--replace-fail "weconnect[Images]~=" "weconnect>="
|
||||
substituteInPlace pytest.ini \
|
||||
--replace "--cov=weconnect_mqtt --cov-config=.coveragerc --cov-report html" "" \
|
||||
--replace "pytest-cov" ""
|
||||
--replace-fail "--cov=weconnect_mqtt --cov-config=.coveragerc --cov-report html" "" \
|
||||
--replace-fail "pytest-cov" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
paho-mqtt
|
||||
python-dateutil
|
||||
|
Loading…
Reference in New Issue
Block a user