Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / logi-circle / default.nix
blob51d66dd406722e62c6aa32900318cf449f18c898
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , aiohttp
6 , python-slugify
7 , pytz
8 , aresponses
9 , pytestCheckHook
12 buildPythonPackage rec {
13   pname = "logi-circle";
14   version = "0.2.3";
16   disabled = pythonOlder "3.6";
18   format = "setuptools";
20   src = fetchFromGitHub {
21     owner = "evanjd";
22     repo = "python-logi-circle";
23     rev = "v${version}";
24     hash = "sha256-Q+uoaimJjn6MiO3jXGYyZ6cS0tqI06Azkq1QbNq2FN8=";
25   };
27   propagatedBuildInputs = [
28     aiohttp
29     python-slugify
30     pytz
31   ];
33   nativeCheckInputs = [
34     aresponses
35     pytestCheckHook
36   ];
38   pythonImportsCheck = [ "logi_circle" ];
40   meta = {
41     description = "A Python library to communicate with Logi Circle cameras";
42     homepage = "https://github.com/evanjd/python-logi-circle";
43     license = lib.licenses.mit;
44     maintainers = with lib.maintainers; [ dotlambda ];
45   };