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