mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
python312Packages.pymiele: 0.1.7 -> 0.2.0 (#363592)
This commit is contained in:
commit
e5a3c6dcb9
@ -1,7 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
aiohttp,
|
||||
async-timeout,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
@ -10,22 +9,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymiele";
|
||||
version = "0.1.7";
|
||||
version = "0.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-nlilHcBdWpCIknhE/RRvcmuz1waNdmcPt++Vi3amvHg=";
|
||||
hash = "sha256-/iUpbvD77MURTltnStm47PEqXnfVuHf4m3+h9V2cn68=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
];
|
||||
dependencies = [ aiohttp ];
|
||||
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
@ -5,19 +5,20 @@
|
||||
flatdict,
|
||||
pymiele,
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "astrandb";
|
||||
domain = "miele";
|
||||
version = "2024.8.1";
|
||||
version = "2024.11.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit owner;
|
||||
repo = domain;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-XwaOQJvosCUXMZYrKX7sMWJIrMx36RhuVYUq163vvNg=";
|
||||
hash = "sha256-fM/ARQ4wJt2/vIVsdWpAur/YWPvBH5fOPYqiaz4DxzU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
flatdict
|
||||
pymiele
|
||||
];
|
||||
@ -29,7 +30,7 @@ buildHomeAssistantComponent rec {
|
||||
changelog = "https://github.com/astrandb/miele/releases/tag/v${version}";
|
||||
description = "Modern integration for Miele devices in Home Assistant";
|
||||
homepage = "https://github.com/astrandb/miele";
|
||||
maintainers = with maintainers; [jamiemagee];
|
||||
maintainers = with maintainers; [ jamiemagee ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user