mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 23:36:39 +01:00
Diff: https://github.com/Foscam-wangzhengyu/libfoscamcgi/compare/v0.0.8...v0.0.9 Changelog: https://github.com/Foscam-wangzhengyu/libfoscamcgi/releases/tag/v0.0.9
39 lines
867 B
Nix
39 lines
867 B
Nix
{
|
|
buildPythonPackage,
|
|
defusedxml,
|
|
fetchFromGitHub,
|
|
lib,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "libpyfoscamcgi";
|
|
version = "0.0.9";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Foscam-wangzhengyu";
|
|
repo = "libfoscamcgi";
|
|
tag = "v${version}";
|
|
hash = "sha256-tKA2UnVHAUjDfvm+t/aCk+3YfWfwjfEWPRgieDAcr7k=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
defusedxml
|
|
];
|
|
|
|
pythonImportsCheck = [ "libpyfoscamcgi" ];
|
|
|
|
# tests need access to a camera
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/Foscam-wangzhengyu/libfoscamcgi/releases/tag/${src.tag}";
|
|
description = "Python Library for Foscam IP Cameras";
|
|
homepage = "https://github.com/Foscam-wangzhengyu/libfoscamcgi";
|
|
license = lib.licenses.lgpl3Plus;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|