blob: aa7edc001de36e05b830ab9b49b638037d98eb97 (
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
41
42
43
44
45
46
47
48
49
50
51
|
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pythonOlder
, xmltodict
}:
buildPythonPackage rec {
pname = "aiosteamist";
version = "0.3.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bdraco";
repo = pname;
rev = version;
hash = "sha256-VoIJh3EDBPKmvEmM3gP2pyt/0oz4i6Y0zIkkprTcFLg=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
xmltodict
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace "--cov=aiosteamist" ""
'';
pythonImportsCheck = [
"aiosteamist"
];
# Modules doesn't have test suite
doCheck = false;
meta = with lib; {
description = "Module to control Steamist steam systems";
homepage = "https://github.com/bdraco/aiosteamist";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}
|