Loading pkgs/development/python-modules/cv2-enumerate-cameras/default.nix 0 → 100644 +33 −0 Original line number Diff line number Diff line { 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; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -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 { }; Loading Loading
pkgs/development/python-modules/cv2-enumerate-cameras/default.nix 0 → 100644 +33 −0 Original line number Diff line number Diff line { 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; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -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 { }; Loading