biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / libpyvivotek / default.nix
blob7320880a153909299040d1a0e33d45b5371afd50
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7   requests,
8   vcrpy,
9 }:
11 buildPythonPackage rec {
12   pname = "libpyvivotek";
13   version = "0.4.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "HarlemSquirrel";
20     repo = "python-vivotek";
21     rev = "v${version}";
22     sha256 = "pNlnGpDjdYE7Lxog8GGZV+UZZmfmt5bwHof5LngPQjg=";
23   };
25   propagatedBuildInputs = [ requests ];
27   nativeCheckInputs = [
28     pytestCheckHook
29     vcrpy
30   ];
32   pythonImportsCheck = [ "libpyvivotek" ];
34   meta = with lib; {
35     description = "Python Library for Vivotek IP Cameras";
36     homepage = "https://github.com/HarlemSquirrel/python-vivotek";
37     license = licenses.asl20;
38     maintainers = with maintainers; [ fab ];
39   };