tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python310Packages.aiortm: init at 0.3.1
Fabian Affolter
3 years ago
f1629f15
d6417bd3
+57
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
aiortm
default.nix
top-level
python-packages.nix
+55
pkgs/development/python-modules/aiortm/default.nix
···
1
1
+
{ lib
2
2
+
, aiohttp
3
3
+
, buildPythonPackage
4
4
+
, click
5
5
+
, fetchFromGitHub
6
6
+
, poetry-core
7
7
+
, pytestCheckHook
8
8
+
, pythonOlder
9
9
+
, yarl
10
10
+
}:
11
11
+
12
12
+
buildPythonPackage rec {
13
13
+
pname = "aiortm";
14
14
+
version = "0.3.1";
15
15
+
format = "pyproject";
16
16
+
17
17
+
disabled = pythonOlder "3.9";
18
18
+
19
19
+
src = fetchFromGitHub {
20
20
+
owner = "MartinHjelmare";
21
21
+
repo = pname;
22
22
+
rev = "v${version}";
23
23
+
hash = "sha256-DTFynPFf0NUBieXDiMKhCNwBqx3s/xzggNmnz/IKjbU=";
24
24
+
};
25
25
+
26
26
+
nativeBuildInputs = [
27
27
+
poetry-core
28
28
+
];
29
29
+
30
30
+
propagatedBuildInputs = [
31
31
+
aiohttp
32
32
+
click
33
33
+
yarl
34
34
+
];
35
35
+
36
36
+
checkInputs = [
37
37
+
pytestCheckHook
38
38
+
];
39
39
+
40
40
+
postPatch = ''
41
41
+
substituteInPlace pyproject.toml \
42
42
+
--replace " --cov=aiortm --cov-report=term-missing:skip-covered" ""
43
43
+
'';
44
44
+
45
45
+
pythonImportsCheck = [
46
46
+
"aiortm"
47
47
+
];
48
48
+
49
49
+
meta = with lib; {
50
50
+
description = "Library for the Remember the Milk API";
51
51
+
homepage = "https://github.com/MartinHjelmare/aiortm";
52
52
+
license = with licenses; [ asl20 ];
53
53
+
maintainers = with maintainers; [ fab ];
54
54
+
};
55
55
+
}
+2
pkgs/top-level/python-packages.nix
···
401
401
402
402
aiorpcx = callPackage ../development/python-modules/aiorpcx { };
403
403
404
404
+
aiortm = callPackage ../development/python-modules/aiortm { };
405
405
+
404
406
aiorun = callPackage ../development/python-modules/aiorun { };
405
407
406
408
aiosenseme = callPackage ../development/python-modules/aiosenseme { };