Add task due notify
This commit is contained in:
@@ -1,21 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, python3Packages, opencv, protobuf }:
|
||||
buildPythonPackage rec {
|
||||
{ lib
|
||||
, stdenv
|
||||
, python3Packages
|
||||
, fetchurl
|
||||
, autoPatchelfHook
|
||||
, opencv
|
||||
, libglvnd
|
||||
}:
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "mediapipe";
|
||||
version = "0.10.32";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-4b0941fbbbce41862f13cb1850c4878c13dbc62cd5e81e74880051b7a20ce3b6";
|
||||
extension = "whl";
|
||||
dist = "manylinux_2_28_x86_64";
|
||||
format = "wheel";
|
||||
src = fetchurl {
|
||||
url = "https://files.pythonhosted.org/packages/e3/98/00cd8b2dcb563f2298655633e6611a791b2c1a7df1dae064b2b96084f1bf/mediapipe-0.10.32-py3-none-manylinux_2_28_x86_64.whl";
|
||||
hash = "sha256-SwlB+7vOQYYvE8sYUMSHjBPbxizV6B50iABRt6IM47Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook ];
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
opencv
|
||||
libglvnd
|
||||
];
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
numpy
|
||||
absl-py
|
||||
protobuf
|
||||
opencv4
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "MediaPipe - Google's media processing framework";
|
||||
homepage = "https://github.com/google/mediapipe";
|
||||
|
||||
Reference in New Issue
Block a user