depot/third_party/nixpkgs/pkgs/development/python-modules/pyezviz/default.nix
Default email 1a0302a145 Project import generated by Copybara.
GitOrigin-RevId: 311ceed827f531f88f46222920cd1ebb2c101f73
2021-04-12 20:23:04 +02:00

36 lines
768 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pandas
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "pyezviz";
version = "0.1.8.7";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "baqs";
repo = "pyEzviz";
rev = version;
sha256 = "0k7wl9wf5i0yfdds6f9ma78ckz1p4h72z5s3qg0axzra62fvl9xg";
};
propagatedBuildInputs = [
pandas
requests
];
# Project has no tests. test_cam_rtsp.py is more a sample for using the module
doCheck = false;
pythonImportsCheck = [ "pyezviz" ];
meta = with lib; {
description = "Python interface for for Ezviz cameras";
homepage = "https://github.com/baqs/pyEzviz/";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}