-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
78 lines (63 loc) · 1.67 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{ pkgs ? import <nixpkgs> {} }:
let
stdenv = pkgs.stdenv;
pythonPackages = pkgs.python3Packages;
sphinx_links = pythonPackages.buildPythonPackage rec {
name = "sphinx_links";
src = pkgs.fetchFromGitHub {
owner = "uralbash";
repo = "sphinx-links";
rev = "master";
sha256 = "15g7024ijqaz3ggvinlwcqwwycn2gjgwfk72zah5432aa9a6bj8l";
};
doCheck = false; # some files required by the test seem to be missing
};
zzzeeksphinx = pythonPackages.buildPythonPackage rec {
name = "zzzeeksphinx";
src = pkgs.fetchFromBitbucket {
owner = "uralbash";
repo = "zzzeeksphinx";
rev = "master";
sha256 = "0d78pqc6h7mc1sfm4cwknr1jph4qlg0rkygfgdhkj45nsq1rm3b1";
};
buildInputs = [
pythonPackages.six
pythonPackages.Mako
pythonPackages.pyscss
pythonPackages.requests
pythonPackages.markupsafe
];
doCheck = false; # some files required by the test seem to be missing
};
rstcheck = pythonPackages.buildPythonPackage rec {
name = "rstcheck-3.1";
src = pkgs.fetchFromGitHub{
owner = "myint";
repo = "rstcheck";
rev = "v3.2";
sha256 = "1rgcmaps703lxprgf3wmfwg2q54hv75jf7fcn284ckfa37csp4rs";
};
buildInputs = with pythonPackages; [ docutils ];
doCheck = false; # some files required by the test seem to be missing
};
in rec {
pyEnv = stdenv.mkDerivation {
name = "lectures-1.0.0";
buildEnv = with pythonPackages; [
pytz
Mako
Babel
];
buildInputs = with pythonPackages; [
ipdb
Mako
pyscss
sphinx
ipython
zzzeeksphinx
sphinx_links
docutils
rstcheck
];
};
}