10 buildPythonPackage rec {
11 pname = "opsdroid-get-image-size";
15 disabled = pythonOlder "3.10";
18 pname = "opsdroid_get_image_size";
20 hash = "sha256-Cp2tvsdCZ+/86DF7FRNwx5diGcUWLYcFwQns7nYXkog=";
24 # Remove vendorized versioneer.py
28 build-system = [ setuptools ];
30 nativeBuildInputs = [ versioneer ];
32 # Test data not included on PyPI
35 pythonImportsCheck = [ "get_image_size" ];
38 description = "Get image width and height given a file path using minimal dependencies";
39 homepage = "https://github.com/opsdroid/image_size";
40 changelog = "https://github.com/opsdroid/image_size/releases/tag/${version}";
41 license = licenses.mit;
42 maintainers = with maintainers; [ globin ];
43 mainProgram = "get-image-size";