From bf16887832c097cf659db8519543c270a61acfaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 21 May 2022 02:45:05 +0000 Subject: [PATCH] python3Packages.logi-circle: init at 0.2.3 --- .../python-modules/logi-circle/default.nix | 46 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 48 insertions(+) create mode 100644 pkgs/development/python-modules/logi-circle/default.nix diff --git a/pkgs/development/python-modules/logi-circle/default.nix b/pkgs/development/python-modules/logi-circle/default.nix new file mode 100644 index 000000000000..4894bfe26290 --- /dev/null +++ b/pkgs/development/python-modules/logi-circle/default.nix @@ -0,0 +1,46 @@ +{ lib +, buildPythonPackage +, pythonOlder +, fetchFromGitHub +, aiohttp +, python-slugify +, pytz +, aresponses +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "logi-circle"; + version = "0.2.3"; + + disabled = pythonOlder "3.6"; + + format = "setuptools"; + + src = fetchFromGitHub { + owner = "evanjd"; + repo = "python-logi-circle"; + rev = "v${version}"; + hash = "sha256-Q+uoaimJjn6MiO3jXGYyZ6cS0tqI06Azkq1QbNq2FN8="; + }; + + propagatedBuildInputs = [ + aiohttp + python-slugify + pytz + ]; + + checkInputs = [ + aresponses + pytestCheckHook + ]; + + pythonImportsCheck = [ "logi_circle" ]; + + meta = { + description = "A Python library to communicate with Logi Circle cameras"; + homepage = "https://github.com/evanjd/python-logi-circle"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 717ca161efe2..804fab12d95e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4982,6 +4982,8 @@ in { logfury = callPackage ../development/python-modules/logfury { }; + logi-circle = callPackage ../development/python-modules/logi-circle { }; + logical-unification = callPackage ../development/python-modules/logical-unification { }; logilab_astng = callPackage ../development/python-modules/logilab_astng { };