tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python311Packages.mayim: modernize
Peder Bergebakken Sundt
2 years ago
cef790b5
7b60a1f4
+3
-6
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
mayim
default.nix
+3
-6
pkgs/development/python-modules/mayim/default.nix
···
11
11
12
12
# test
13
13
pytest-asyncio,
14
14
+
pytest-cov-stub,
14
15
15
16
pytestCheckHook,
16
17
}:
···
27
28
hash = "sha256-nb0E9kMEJUihaCp8RnqGh0nSyDQo50eL1C4K5lBPlPQ=";
28
29
};
29
30
30
30
-
nativeBuildInputs = [
31
31
+
build-system = [
31
32
setuptools
32
33
wheel
33
34
];
34
35
35
35
-
postPatch = ''
36
36
-
substituteInPlace pyproject.toml \
37
37
-
--replace "--cov=src --cov-append --cov-report term-missing" ""
38
38
-
'';
39
39
-
40
36
passthru.optional-dependencies = {
41
37
postgres = [ psycopg ] ++ psycopg.optional-dependencies.pool;
42
38
mysql = [ asyncmy ];
···
47
43
[
48
44
pytestCheckHook
49
45
pytest-asyncio
46
46
+
pytest-cov-stub
50
47
]
51
48
++ (with passthru.optional-dependencies; [
52
49
postgres