python3.pkgs.mmcv: 1.7.1 -> 2.0.0
This commit is contained in:
parent
a1815ec7da
commit
93581dbb57
|
@ -18,6 +18,7 @@
|
||||||
, pyturbojpeg
|
, pyturbojpeg
|
||||||
, tifffile
|
, tifffile
|
||||||
, lmdb
|
, lmdb
|
||||||
|
, mmengine
|
||||||
, symlinkJoin
|
, symlinkJoin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -48,16 +49,16 @@ let
|
||||||
in
|
in
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mmcv";
|
pname = "mmcv";
|
||||||
version = "1.7.1";
|
version = "2.0.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "open-mmlab";
|
owner = "open-mmlab";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-b4MLBPNRCcPq1osUvqo71PCWVX7lOjAH+dXttd4ZapU";
|
hash = "sha256-36PcvoB0bM0VoNb2psURYFo3krmgHG47OufU6PVjHyw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
@ -100,6 +101,7 @@ buildPythonPackage rec {
|
||||||
nativeCheckInputs = [ pytestCheckHook torchvision lmdb onnx onnxruntime scipy pyturbojpeg tifffile ];
|
nativeCheckInputs = [ pytestCheckHook torchvision lmdb onnx onnxruntime scipy pyturbojpeg tifffile ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
mmengine
|
||||||
torch
|
torch
|
||||||
opencv4
|
opencv4
|
||||||
yapf
|
yapf
|
||||||
|
|
Loading…
Reference in a new issue