Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyezviz / default.nix
blob1f3f6662f386ffde529c930447bf9b5166e46936
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , paho-mqtt
5 , pandas
6 , pycryptodome
7 , pythonOlder
8 , requests
9 , xmltodict
12 buildPythonPackage rec {
13   pname = "pyezviz";
14   version = "0.2.2.3";
15   format = "setuptools";
17   disabled = pythonOlder "3.6";
19   src = fetchFromGitHub {
20     owner = "baqs";
21     repo = "pyEzviz";
22     rev = "refs/tags/${version}";
23     hash = "sha256-HZLWpoo0luAqqwLA3t7cDh0yVP6znrzMoUg7cuexd28=";
24   };
26   propagatedBuildInputs = [
27     paho-mqtt
28     pandas
29     pycryptodome
30     requests
31     xmltodict
32   ];
34   # Project has no tests. test_cam_rtsp.py is more a sample for using the module
35   doCheck = false;
37   pythonImportsCheck = [
38     "pyezviz"
39   ];
41   meta = with lib; {
42     description = "Python interface for for Ezviz cameras";
43     mainProgram = "pyezviz";
44     homepage = "https://github.com/baqs/pyEzviz/";
45     changelog = "https://github.com/BaQs/pyEzviz/releases/tag/${version}";
46     license = with licenses; [ asl20 ];
47     maintainers = with maintainers; [ fab ];
48   };