20 # optional dependencies
32 buildPythonPackage rec {
33 pname = "albumentations";
37 disabled = pythonOlder "3.9";
39 src = fetchFromGitHub {
40 owner = "albumentations-team";
41 repo = "albumentations";
42 rev = "refs/tags/${version}";
43 hash = "sha256-kRf8LhRWtzGnhPrQo5aT/4a2sNQCdwAmFFzwcE0QnxM=";
47 ./dont-check-for-updates.patch
50 pythonRelaxDeps = [ "opencv-python" ];
52 build-system = [ setuptools ];
65 optional-dependencies = {
66 hub = [ huggingface-hub ];
79 "test_pca_inverse_transform"
84 pythonImportsCheck = [ "albumentations" ];
87 description = "Fast image augmentation library and easy to use wrapper around other libraries";
88 homepage = "https://github.com/albumentations-team/albumentations";
89 changelog = "https://github.com/albumentations-team/albumentations/releases/tag/${version}";
90 license = lib.licenses.mit;
91 maintainers = with lib.maintainers; [ natsukium ];