blob: 446e6bb76a8aa1603efb4a8038469aeb6371fa49 (
plain)
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
41
42
43
44
45
46
47
48
49
50
51
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
aiohttp,
aws-request-signer,
boto3,
botocore,
pycognito,
}:
buildPythonPackage (finalAttrs: {
pname = "aioaquacell";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Jordi1990";
repo = "aioaquacell";
tag = finalAttrs.version;
hash = "sha256-ghzuNIqpDwrt2EJ8u74yF5pWdS2nR3FvbPdHQMH4KxE=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'version = "0.0.0"' 'version = "${finalAttrs.version}"'
'';
build-system = [ poetry-core ];
dependencies = [
aiohttp
aws-request-signer
boto3
botocore
pycognito
];
pythonImportsCheck = [ "aioaquacell" ];
doCheck = false; # no tests
meta = {
changelog = "https://github.com/Jordi1990/aioaquacell/releases/tag/${finalAttrs.version}";
description = "Asynchronous library to retrieve details of your Aquacell water softener device";
homepage = "https://github.com/Jordi1990/aioaquacell";
license = lib.licenses.asl20;
maintainers = [ ];
};
})
|