NUR/pkgs/python-modules/opencv-python-headless/default.nix

22 lines
464 B
Nix
Raw Permalink Normal View History

2021-05-03 16:40:28 +02:00
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "opencv-python-headless";
version = "4.5.1.48";
src = fetchPypi {
inherit pname version;
sha256 = "1idw1np8gq8460hzj2ly3481b7i2f1k12gpr6y3nsnkvbrsjas6i";
};
doCheck = true;
meta = with lib; {
homepage = "https://github.com/opencv/opencv-python";
description = "Unofficial pre-built CPU-only OpenCV packages for Python";
license = licenses.mit;
};
}