1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6}:
7
8buildPythonPackage rec {
9 pname = "iammeter";
10 version = "0.2.1";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-Q0o392Xf3cY5BkX4ic6pE3XKMSgek5cpW4TMqSh+Ew8=";
18 };
19
20 # Module has no tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "iammeter" ];
24
25 meta = with lib; {
26 description = "Module to work with the IamMeter API";
27 homepage = "https://pypi.org/project/iammeter/";
28 license = with licenses; [ mit ];
29 maintainers = with maintainers; [ fab ];
30 };
31}