mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 09:44:18 +00:00
Merge pull request #152989 from fabaff/bump-hahomematic
This commit is contained in:
commit
617c643edb
@ -1,7 +1,10 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
, pydevccu
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, voluptuous
|
||||
, websocket-client
|
||||
@ -10,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hahomematic";
|
||||
version = "0.9.1";
|
||||
version = "0.12.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -19,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "danielperna84";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-sxYa0SCsX1NZlCRMIpwyU1KPEteVH5HGLx1dFsbiu/E=";
|
||||
sha256 = "sha256-A7fuTSrXMTK0oz87htylWKb868+YR7FXYYEC3hSgG7o=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -27,8 +30,11 @@ buildPythonPackage rec {
|
||||
voluptuous
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
checkInputs = [
|
||||
pydevccu
|
||||
pytest-aiohttp
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"hahomematic"
|
||||
|
39
pkgs/development/python-modules/pydevccu/default.nix
Normal file
39
pkgs/development/python-modules/pydevccu/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydevccu";
|
||||
version = "0.0.9";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "danielperna84";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-/4sJ5T17nCcTjg1Me4zTlOEOkK1py9kl2YeLGv4X6us=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Fix file name, https://github.com/danielperna84/pydevccu/pull/8
|
||||
mv pydevccu/paramset_descriptions/HmIP-STDH.json pydevccu/paramset_descriptions/HmIP-STHD.json
|
||||
'';
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pydevccu"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "HomeMatic CCU XML-RPC Server with fake devices";
|
||||
homepage = "https://github.com/danielperna84/pydevccu";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -6600,6 +6600,8 @@ in {
|
||||
|
||||
py-desmume = callPackage ../development/python-modules/py-desmume { };
|
||||
|
||||
pydevccu = callPackage ../development/python-modules/pydevccu { };
|
||||
|
||||
pydexcom = callPackage ../development/python-modules/pydexcom { };
|
||||
|
||||
pydicom = callPackage ../development/python-modules/pydicom { };
|
||||
|
Loading…
Reference in New Issue
Block a user