1{ lib
2, buildPythonPackage
3, fetchPypi
4}:
5
6buildPythonPackage rec {
7 pname = "libpyfoscam";
8 version = "1.1";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "c274cafd2c6493ab397fe9f0f8aae0b2c35c7c661fe76dde3bd2f1cd56b8fc32";
13 };
14
15 # tests need access to a camera
16 doCheck = false;
17
18 pythonImportsCheck = [ "libpyfoscam" ];
19
20 meta = with lib; {
21 description = "Python Library for Foscam IP Cameras";
22 homepage = "https://github.com/viswa-swami/python-foscam";
23 license = licenses.lgpl3Plus;
24 maintainers = with maintainers; [ dotlambda ];
25 };
26}