From b263dec17d54ef080357734056a6e5cad6fdfc75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 27 Oct 2024 09:53:13 -0700 Subject: [PATCH] python312Packages.opencv-python-headless: init at 4.9.0 --- .../opencv-python-headless/default.nix | 14 ++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/python-modules/opencv-python-headless/default.nix diff --git a/pkgs/development/python-modules/opencv-python-headless/default.nix b/pkgs/development/python-modules/opencv-python-headless/default.nix new file mode 100644 index 000000000000..7a379d39b879 --- /dev/null +++ b/pkgs/development/python-modules/opencv-python-headless/default.nix @@ -0,0 +1,14 @@ +{ + mkPythonMetaPackage, + opencv4, +}: + +mkPythonMetaPackage { + pname = "opencv-python-headless"; + inherit (opencv4) version; + dependencies = [ opencv4 ]; + optional-dependencies = opencv4.optional-dependencies or { }; + meta = { + inherit (opencv4.meta) description homepage; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0e4926959ab1..76e5e1f13dbb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9368,6 +9368,8 @@ self: super: with self; { pythonPackages = self; }); + opencv-python-headless = callPackage ../development/python-modules/opencv-python-headless { }; + openerz-api = callPackage ../development/python-modules/openerz-api { }; openevsewifi = callPackage ../development/python-modules/openevsewifi { };