Fabian Affolter 2023-09-27 12:21:06 +02:00
parent 05915e91d4
commit 9a66522c81

View file

@ -4,21 +4,28 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pkce , pkce
, poetry-core
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pymyq"; pname = "pymyq";
version = "3.1.6"; version = "3.1.9";
pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "arraylabs"; owner = "Python-MyQ";
repo = pname; repo = "Python-MyQ";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-zhGCoZ7mkHlfDjEbQihtM23u+N6nfYsQhKmrloevzp8="; hash = "sha256-7fGm7VGE9D6vmQkNmiB52+il3GE/rTqTqxqAORy88l4=";
}; };
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp aiohttp
beautifulsoup4 beautifulsoup4
@ -34,8 +41,8 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python wrapper for MyQ API"; description = "Python wrapper for MyQ API";
homepage = "https://github.com/arraylabs/pymyq"; homepage = "https://github.com/Python-MyQ/Python-MyQ";
changelog = "https://github.com/arraylabs/pymyq/releases/tag/v${version}"; changelog = "https://github.com/Python-MyQ/Python-MyQ/releases/tag/v${version}";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };