forked from jandado/smartbox
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathshell.nix
43 lines (39 loc) · 820 Bytes
/
shell.nix
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
with import <nixpkgs> {
overlays = [
( self: super: rec {
python38 = super.python38.override {
packageOverrides = pySelf: pySuper: {
# make sure we use python-socketio 4.x, even in nixpkgs unstable
python-engineio = self.nur.repos.graham33.python-engineio-3;
python-socketio = self.nur.repos.graham33.python-socketio-4;
};
};
python38Packages = python38.pkgs;
})
];
};
with python38Packages;
buildPythonPackage rec {
name = "smartbox";
src = ".";
nativeBuildInputs = [
pytest
flake8
yapf
];
propagatedBuildInputs = [
aiohttp
click
python-socketio
requests
websocket_client
];
checkInputs = [
freezegun
pytest-asyncio
pytest-mock
pytest-randomly
requests-mock
tox
];
}