mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
python311Packages.python-myq: eject
The service provider decided to block acecss from unvetted third parties which in turn led to the removal of the integration from home-assistant.
This commit is contained in:
parent
982ca8967d
commit
2e6cc4ac32
3 changed files with 1 additions and 56 deletions
|
@ -1,54 +0,0 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, beautifulsoup4
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pkce
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-myq";
|
||||
version = "3.1.13";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Python-MyQ";
|
||||
repo = "Python-MyQ";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-kW03swRXZdkh45I/up/FIxv0WGBRqTlDt1X71Ow/hrg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "poetry-core==1.6.1" "poetry-core"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
beautifulsoup4
|
||||
pkce
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pymyq"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python wrapper for MyQ API";
|
||||
homepage = "https://github.com/Python-MyQ/Python-MyQ";
|
||||
changelog = "https://github.com/Python-MyQ/Python-MyQ/releases/tag/v${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -312,6 +312,7 @@ mapAliases ({
|
|||
pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04
|
||||
PyMVGLive = pymvglive; # added 2023-02-19
|
||||
pymyq = python-myq; # added 2023-10-20
|
||||
python-myq = throw "python-myq has been removed, as the service provider has decided to block its API requests"; # added 2023-12-07
|
||||
pyqt4 = throw "pyqt4 has been removed, because it depended on the long EOL qt4"; # added 2022-06-09
|
||||
pyramid_beaker = pyramid-beaker; # added 2023-08-23
|
||||
pyramid_chameleon = pyramid-chameleon; # added 2023-08-23
|
||||
|
|
|
@ -10716,8 +10716,6 @@ self: super: with self; {
|
|||
|
||||
pymvglive = callPackage ../development/python-modules/pymvglive { };
|
||||
|
||||
python-myq = callPackage ../development/python-modules/python-myq { };
|
||||
|
||||
pymysensors = callPackage ../development/python-modules/pymysensors { };
|
||||
|
||||
pymysql = callPackage ../development/python-modules/pymysql { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue