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