cache update
This commit is contained in:
parent
a2bb35055f
commit
49ea73dd6f
3 changed files with 41 additions and 2 deletions
34
pkgs/python-opencv-headless/default.nix
Normal file
34
pkgs/python-opencv-headless/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, python310Packages
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
python310Packages.buildPythonPackage rec {
|
||||
pname = "opencv-python-headless";
|
||||
version = "4.9.0.80";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version format;
|
||||
dist = "cp310";
|
||||
abi = "cp310";
|
||||
platform = "manylinux_2_17_x86_64.manylinux2014_x86_64";
|
||||
hash = "sha256-a1uEcgIUu7qxcJCyX+4umIOGa4bsRdfgSBn6jO0PnoM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python310Packages; [
|
||||
numpy
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "cv2" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Wrapper package for OpenCV python bindings";
|
||||
homepage = "https://github.com/opencv/opencv-python";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ "Cobray" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue