about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/libpyfoscam/default.nix
blob: 3f7eaad8ce81db3dc77856bb36ecdacc4dc2108f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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 ];
  };
}