-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
default.nix
54 lines (48 loc) · 1.08 KB
/
default.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
44
45
46
47
48
49
50
51
52
53
54
with import <nixpkgs> {};
let
python-requirements = ps: with ps; let
PyMVGLive = with ps; buildPythonPackage rec {
pname = "PyMVGLive";
version = "1.1.4";
propagatedBuildInputs = [ requests ];
src = fetchPypi {
inherit pname version;
sha256 = "0c81dc7e306501cd63d88ab57dedf277bf6b778085d1bceeef38d5484eed046a";
};
doCheck = false;
};
matrix-nio = with ps; buildPythonPackage rec {
pname = "matrix-nio";
version = "0.9.0";
propagatedBuildInputs = [
attrs
future
aiohttp
aiofiles
h11
h2
Logbook
jsonschema
unpaddedbase64
pycryptodome
atomicwrites
python-olm
peewee
cachetools
];
src = fetchPypi {
inherit pname version;
sha256 = "5986df619b56803546cb969b436ae87f8d207a359f3597f3d8e4e2d86946dc53";
};
};
in [
matrix-nio
PyMVGLive
feedparser
];
in buildEnv {
name = "cyberbot-env";
paths = [
(python3.withPackages (ps: python-requirements ps))
];
}