python3Packages.cv2-enumerate-cameras: init at 1.2.2 (#439863)
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cv2_enumerate_cameras";
|
||||
version = "1.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lukehugh";
|
||||
repo = "cv2_enumerate_cameras";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-BInGgnsvRrfTaofqZzf5LawM/Lbr0vdgU/l7j/VQi1o=";
|
||||
};
|
||||
|
||||
pyproject = true;
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonImportsCheck = [ "cv2_enumerate_cameras" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/lukehugh/cv2_enumerate_cameras";
|
||||
description = "Retrieve the connected camera's name, VID, PID, and the corresponding OpenCV index";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.qyliss ];
|
||||
# Needs pyobjc-framework-avfoundation; not currently packaged.
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
};
|
||||
}
|
||||
@@ -3230,6 +3230,8 @@ self: super: with self; {
|
||||
|
||||
cut-cross-entropy = callPackage ../development/python-modules/cut-cross-entropy { };
|
||||
|
||||
cv2-enumerate-cameras = callPackage ../development/python-modules/cv2-enumerate-cameras { };
|
||||
|
||||
cvelib = callPackage ../development/python-modules/cvelib { };
|
||||
|
||||
cvss = callPackage ../development/python-modules/cvss { };
|
||||
|
||||
Reference in New Issue
Block a user