1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pythonOlder,
6 setuptools,
7 aiohttp,
8 pyjwt,
9}:
10
11buildPythonPackage rec {
12 pname = "laundrify-aio";
13 version = "1.2.2";
14 pyproject = true;
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchFromGitHub {
19 owner = "laundrify";
20 repo = "laundrify-pypi";
21 tag = "v${version}";
22 hash = "sha256-iFQ0396BkGWM7Ma/I0gbXucd2/yPmEVF4IC3/bMK2SA=";
23 };
24
25 build-system = [ setuptools ];
26
27 dependencies = [
28 aiohttp
29 pyjwt
30 ];
31
32 # Module has no tests
33 doCheck = false;
34
35 pythonImportsCheck = [ "laundrify_aio" ];
36
37 meta = with lib; {
38 description = "Module to communicate with the laundrify API";
39 homepage = "https://github.com/laundrify/laundrify-pypi";
40 license = licenses.asl20;
41 maintainers = with maintainers; [ fab ];
42 };
43}