Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pyezviz / default.nix
blob14f2e55a1f424493e213246858a6472a2399848a
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pandas
5 , pythonOlder
6 , requests
7 }:
9 buildPythonPackage rec {
10   pname = "pyezviz";
11   version = "0.1.8.7";
12   disabled = pythonOlder "3.6";
14   src = fetchFromGitHub {
15     owner = "baqs";
16     repo = "pyEzviz";
17     rev = version;
18     sha256 = "0k7wl9wf5i0yfdds6f9ma78ckz1p4h72z5s3qg0axzra62fvl9xg";
19   };
21   propagatedBuildInputs = [
22     pandas
23     requests
24   ];
26   # Project has no tests. test_cam_rtsp.py is more a sample for using the module
27   doCheck = false;
28   pythonImportsCheck = [ "pyezviz" ];
30   meta = with lib; {
31     description = "Python interface for for Ezviz cameras";
32     homepage = "https://github.com/baqs/pyEzviz/";
33     license = with licenses; [ asl20 ];
34     maintainers = with maintainers; [ fab ];
35   };