File tree Expand file tree Collapse file tree 1 file changed +26
-17
lines changed
pkgs/development/python-modules/mmengine Expand file tree Collapse file tree 1 file changed +26
-17
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
3- addict ,
3+ stdenv ,
44 buildPythonPackage ,
5- coverage ,
65 fetchFromGitHub ,
7- lmdb ,
6+
7+ # build-system
8+ setuptools ,
9+
10+ # dependencies
11+ addict ,
812 matplotlib ,
9- mlflow ,
1013 numpy ,
1114 opencv4 ,
12- parameterized ,
13- pytestCheckHook ,
14- pythonOlder ,
1515 pyyaml ,
1616 rich ,
17- setuptools ,
18- stdenv ,
1917 termcolor ,
20- torch ,
2118 yapf ,
19+
20+ # checks
21+ bitsandbytes ,
22+ coverage ,
23+ dvclive ,
24+ lion-pytorch ,
25+ lmdb ,
26+ mlflow ,
27+ parameterized ,
28+ pytestCheckHook ,
29+ transformers ,
2230} :
2331
2432buildPythonPackage rec {
2533 pname = "mmengine" ;
2634 version = "0.10.5" ;
2735 pyproject = true ;
2836
29- disabled = pythonOlder "3.7" ;
30-
3137 src = fetchFromGitHub {
3238 owner = "open-mmlab" ;
3339 repo = "mmengine" ;
3440 rev = "refs/tags/v${ version } " ;
35- hash = "sha256-+YDtYHp3BwKvzhmHC6hAZ3Qtc9uRZMo/TpWqdpm2hn0 =" ;
41+ hash = "sha256-bZ6O4UOYUCwq11YmgRWepOIngYxYD/fNfM/VmcyUv9k =" ;
3642 } ;
3743
3844 build-system = [ setuptools ] ;
@@ -49,12 +55,15 @@ buildPythonPackage rec {
4955 ] ;
5056
5157 nativeCheckInputs = [
58+ # bitsandbytes (broken as of 2024-07-06)
5259 coverage
60+ dvclive
61+ lion-pytorch
5362 lmdb
5463 mlflow
5564 parameterized
5665 pytestCheckHook
57- torch
66+ transformers
5867 ] ;
5968
6069 preCheck =
@@ -108,12 +117,12 @@ buildPythonPackage rec {
108117 "test_close"
109118 ] ;
110119
111- meta = with lib ; {
120+ meta = {
112121 description = "Library for training deep learning models based on PyTorch" ;
113122 homepage = "https://github.com/open-mmlab/mmengine" ;
114123 changelog = "https://github.com/open-mmlab/mmengine/releases/tag/v${ version } " ;
115- license = with licenses ; [ asl20 ] ;
116- maintainers = with maintainers ; [ rxiao ] ;
124+ license = with lib . licenses ; [ asl20 ] ;
125+ maintainers = with lib . maintainers ; [ rxiao ] ;
117126 broken =
118127 stdenv . hostPlatform . isDarwin || ( stdenv . hostPlatform . isLinux && stdenv . hostPlatform . isAarch64 ) ;
119128 } ;
You can’t perform that action at this time.
0 commit comments