at master 881 B view raw
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 setuptools, 6 numpy, 7 opencv-python, 8 lxml, 9 xmljson, 10 pytestCheckHook, 11}: 12 13buildPythonPackage { 14 pname = "imantics"; 15 version = "0.1.12"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "jsbroks"; 20 repo = "imantics"; 21 rev = "76d81036d8f92854d63ad9938dd76c718f8b482e"; 22 sha256 = "1zv2gj8cbakhh2fyr2611cbqhfk37a56x973ny9n43y70n26pzm8"; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 numpy 29 opencv-python 30 lxml 31 xmljson 32 ]; 33 34 nativeCheckInputs = [ pytestCheckHook ]; 35 36 pythonImportsCheck = [ "imantics" ]; 37 38 meta = with lib; { 39 description = "Convert and visualize many annotation formats for object dectection and localization"; 40 homepage = "https://github.com/jsbroks/imantics"; 41 license = with licenses; [ mit ]; 42 maintainers = [ maintainers.rakesh4g ]; 43 }; 44}