blob: 70244547abec0c9649626274d7a95ec76b6ab1db (
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
34
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
aiohttp,
pyjwt,
}:
buildPythonPackage rec {
pname = "laundrify-aio";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "laundrify";
repo = "laundrify-pypi";
rev = "v${version}";
hash = "sha256-mIdw2167H4Ume/DqV+fjRiBrph+8Jj5EEUALDDj4ah8=";
};
propagatedBuildInputs = [
aiohttp
pyjwt
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "laundrify_aio" ];
meta = with lib; {
description = "Module to communicate with the laundrify API";
homepage = "https://github.com/laundrify/laundrify-pypi";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}
|