blob: edd09d2750e2fe187be7ee7a7b303e201f003b53 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
}:
buildPythonPackage rec {
pname = "opsdroid-get-image-size";
version = "0.2.2";
pyproject = true;
src = fetchPypi {
pname = "opsdroid_get_image_size";
inherit version;
hash = "sha256-Cp2tvsdCZ+/86DF7FRNwx5diGcUWLYcFwQns7nYXkog=";
};
nativeBuildInputs = [
setuptools
];
# test data not included on pypi
doCheck = false;
pythonImportsCheck = [ "get_image_size" ];
meta = with lib; {
description = "Get image width and height given a file path using minimal dependencies";
license = licenses.mit;
homepage = "https://github.com/opsdroid/image_size";
maintainers = with maintainers; [ globin ];
};
}
|