mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
home-assistant-custom-components.volkswagencarnet: 5.4.12 -> 5.5.1 (#553676)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
setuptools-scm,
|
||||
aiohttp,
|
||||
beautifulsoup4,
|
||||
json5,
|
||||
lxml,
|
||||
pyjwt,
|
||||
freezegun,
|
||||
@@ -12,19 +13,24 @@
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "volkswagencarnet";
|
||||
version = "5.4.11";
|
||||
version = "5.5.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "robinostlund";
|
||||
repo = "volkswagencarnet";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Ria6+dlxV0VA7zXb1eL0TgblxlUjRTYYgDaj/727eCA=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-0jjshQOqrqks0M3b6wXcF50iHZG7RmWSWvUt/Vsjtp8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools>=84.0.0" setuptools \
|
||||
--replace-fail "setuptools_scm>=10.2.1" setuptools_scm \
|
||||
--replace-fail "wheel>=0.48.0" wheel
|
||||
|
||||
substituteInPlace tests/conftest.py \
|
||||
--replace-fail 'pytest_plugins = ["pytest_cov"]' 'pytest_plugins = []'
|
||||
'';
|
||||
@@ -34,6 +40,7 @@ buildPythonPackage rec {
|
||||
dependencies = [
|
||||
aiohttp
|
||||
beautifulsoup4
|
||||
json5
|
||||
lxml
|
||||
pyjwt
|
||||
];
|
||||
@@ -47,10 +54,10 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/robinostlund/volkswagencarnet/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/robinostlund/volkswagencarnet/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Python library for volkswagen carnet";
|
||||
homepage = "https://github.com/robinostlund/volkswagencarnet";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "robinostlund";
|
||||
domain = "volkswagencarnet";
|
||||
version = "5.4.12";
|
||||
version = "5.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "robinostlund";
|
||||
repo = "homeassistant-volkswagencarnet";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-LtNyzWTyROXYcki/hhExD77Ah6Ka8G8zVLxV4RP0Z1w=";
|
||||
hash = "sha256-2UNLDZLwpVMxdUCIVUlyedTfGxyioCZjMGaE5HK6NHg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
Reference in New Issue
Block a user