Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
881 B
Nix
45 lines
881 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
lib,
|
|
setuptools,
|
|
numpy,
|
|
opencv-python,
|
|
lxml,
|
|
xmljson,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "imantics";
|
|
version = "0.1.12";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jsbroks";
|
|
repo = "imantics";
|
|
rev = "76d81036d8f92854d63ad9938dd76c718f8b482e";
|
|
sha256 = "1zv2gj8cbakhh2fyr2611cbqhfk37a56x973ny9n43y70n26pzm8";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
numpy
|
|
opencv-python
|
|
lxml
|
|
xmljson
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "imantics" ];
|
|
|
|
meta = with lib; {
|
|
description = "Convert and visualize many annotation formats for object dectection and localization";
|
|
homepage = "https://github.com/jsbroks/imantics";
|
|
license = with licenses; [ mit ];
|
|
maintainers = [ maintainers.rakesh4g ];
|
|
};
|
|
}
|