-
Notifications
You must be signed in to change notification settings - Fork 2
/
default.nix
163 lines (129 loc) · 3.52 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{ pkgs ? (import <nixpkgs> {}) }:
let
env = with pkgs.haskellPackages; [
pandoc
pandoc-citeproc
pandoc-crossref
(pkgs.texlive.combine {
inherit (pkgs.texlive)
scheme-small
algorithms
cm-super
collection-basic
collection-bibtexextra
collection-fontsextra
collection-fontutils
collection-langenglish
collection-langgerman
collection-latex
collection-latexextra
collection-latexrecommended
collection-mathextra
collection-metapost
collection-pictures
collection-plainextra
collection-science
;
})
pkgs.lmodern
];
pandoc-filter = pkgs.buildPythonPackage rec {
version = "1.3.0";
name = "pandoc-filters-${version}";
src = pkgs.fetchurl {
url = "https://github.com/jgm/pandocfilters/archive/${version}.tar.gz";
sha256 = "1sgd0h5jwk7l1r33s5hwcg4j3zs5l3059p8wdcaqy0sqvhwd06il";
};
propagatedBuildInputs = with pkgs; [ python ];
};
pygraphviz = pkgs.pythonPackages.buildPythonPackage rec {
version = "1.2";
name = "pygraphviz-${version}";
src = pkgs.fetchurl {
url = "https://github.com/pygraphviz/pygraphviz/archive/${name}.tar.gz";
sha256 = "0jyd049wj994y1h9k3xwvjk9jwzi6vpdj10767kq8alz86hp4ak5";
};
propagatedBuildInputs = [ pkgs.graphviz pkgs.pkgconfig ];
};
blockdiag = pkgs.pythonPackages.buildPythonPackage rec {
version = "1.5.3";
name = "blockdiag-${version}";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/b/blockdiag/${name}.tar.gz";
sha256 = "12xfh1j0z346lkx23q0901hln3kmfyhlqvycrjx0z90cr8gm18sy";
};
propagatedBuildInputs = with pkgs.pythonPackages; [
funcparserlib
webcolors
pillow
docutils
reportlab
pep8
mock
nose
];
doCheck = false;
};
seqdiag = pkgs.pythonPackages.buildPythonPackage rec {
version = "0.9.5";
name = "seqdiag-${version}";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/s/seqdiag/${name}.tar.gz";
sha256 = "0mr6fk3y4i5vw85r0pys7iar0wks76m1126i2ghpxxzy375h4i4r";
};
propagatedBuildInputs = with pkgs.pythonPackages; [
funcparserlib
pillow
blockdiag
];
doCheck = false;
};
actdiag = pkgs.pythonPackages.buildPythonPackage rec {
version = "0.5.4";
name = "actdiag-${version}";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/a/actdiag/${name}.tar.gz";
sha256 = "1bs6mcas8z1k3zflq9ms5f6sra4qq5kizgpkmqx0jhcrgmvp2c4q";
};
propagatedBuildInputs = with pkgs.pythonPackages; [
funcparserlib
pillow
reportlab
blockdiag
];
doCheck = false;
};
nwdiag = pkgs.pythonPackages.buildPythonPackage rec {
version = "1.0.4";
name = "nwdiag-${version}";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/n/nwdiag/${name}.tar.gz";
sha256 = "1yhk4bf4pp4vh3a7ipvw7yf2ci6zmc3qqmszzhnrly2ran3na980";
};
propagatedBuildInputs = with pkgs.pythonPackages; [
funcparserlib
pillow
reportlab
blockdiag
];
doCheck = false;
};
in
pkgs.stdenv.mkDerivation rec {
name = "paper";
src = ./.;
version = "0.0.0";
buildInputs = [
env
pandoc-filter
pygraphviz
pkgs.mscgen
blockdiag
seqdiag
actdiag
nwdiag
pkgs.R
pkgs.plantuml
pkgs.biber
];
}