anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / logi-circle / default.nix
blobaf73f77aadef1013aad449a79644a1f2d167873c
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   aiohttp,
7   python-slugify,
8   pytz,
9   aresponses,
10   pytestCheckHook,
13 buildPythonPackage rec {
14   pname = "logi-circle";
15   version = "0.2.3";
17   disabled = pythonOlder "3.6";
19   format = "setuptools";
21   src = fetchFromGitHub {
22     owner = "evanjd";
23     repo = "python-logi-circle";
24     rev = "v${version}";
25     hash = "sha256-Q+uoaimJjn6MiO3jXGYyZ6cS0tqI06Azkq1QbNq2FN8=";
26   };
28   propagatedBuildInputs = [
29     aiohttp
30     python-slugify
31     pytz
32   ];
34   nativeCheckInputs = [
35     aresponses
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [ "logi_circle" ];
41   meta = {
42     description = "Python library to communicate with Logi Circle cameras";
43     homepage = "https://github.com/evanjd/python-logi-circle";
44     license = lib.licenses.mit;
45     maintainers = with lib.maintainers; [ dotlambda ];
46   };