depot/third_party/nixpkgs/pkgs/development/python-modules/libpyfoscam/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

32 lines
640 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "libpyfoscam";
version = "1.2.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-2E6zQT86UEOKoFnAfXfeWt352HIdOQZBGy5vR0WQO6Y=";
};
# tests need access to a camera
doCheck = false;
pythonImportsCheck = [
"libpyfoscam"
];
meta = with lib; {
description = "Python Library for Foscam IP Cameras";
homepage = "https://github.com/krmarien/python-foscam";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}