841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
26 lines
578 B
Nix
26 lines
578 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "libpyfoscam";
|
|
version = "1.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "c274cafd2c6493ab397fe9f0f8aae0b2c35c7c661fe76dde3bd2f1cd56b8fc32";
|
|
};
|
|
|
|
# tests need access to a camera
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "libpyfoscam" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python Library for Foscam IP Cameras";
|
|
homepage = "https://github.com/viswa-swami/python-foscam";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|