Unverified Commit c6a8ccbb authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #311755 from r-ryantm/auto-update/python311Packages.pyezviz

python311Packages.pyezviz: 0.2.2.3 -> 0.2.2.4
parents 9a50b221 ad1468bf
Loading
Loading
Loading
Loading
+20 −18
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, paho-mqtt
, pandas
, pycryptodome
, pythonOlder
, requests
, xmltodict
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  paho-mqtt,
  pandas,
  pycryptodome,
  pythonOlder,
  requests,
  setuptools,
  xmltodict,
}:

buildPythonPackage rec {
  pname = "pyezviz";
  version = "0.2.2.3";
  format = "setuptools";
  version = "0.2.2.4";
  pyproject = true;

  disabled = pythonOlder "3.6";
  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "baqs";
    repo = "pyEzviz";
    rev = "refs/tags/${version}";
    hash = "sha256-HZLWpoo0luAqqwLA3t7cDh0yVP6znrzMoUg7cuexd28=";
    hash = "sha256-ngQu9g0qvJ3zDaTdGqJDGRoMhnGYdp5jHDoPiuXOwGs=";
  };

  propagatedBuildInputs = [
  build-system = [ setuptools ];

  dependencies = [
    paho-mqtt
    pandas
    pycryptodome
@@ -34,16 +38,14 @@ buildPythonPackage rec {
  # Project has no tests. test_cam_rtsp.py is more a sample for using the module
  doCheck = false;

  pythonImportsCheck = [
    "pyezviz"
  ];
  pythonImportsCheck = [ "pyezviz" ];

  meta = with lib; {
    description = "Python interface for for Ezviz cameras";
    mainProgram = "pyezviz";
    homepage = "https://github.com/baqs/pyEzviz/";
    changelog = "https://github.com/BaQs/pyEzviz/releases/tag/${version}";
    license = with licenses; [ asl20 ];
    maintainers = with maintainers; [ fab ];
    mainProgram = "pyezviz";
  };
}