blob: 7dd1ca88daea8316764ed31394a8905503676da5 (
plain)
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
|
{
latex,
data,
lib,
...
}:
let
service = data.experience.service;
in
{
title = "Academic service";
priority = 15;
content = [
(
with service.reviews;
let
conferenceList = lib.concatMapAttrsStringSep "; " (
name: years: "${name} ${lib.concatMapStringsSep ", " builtins.toString years}"
) conferences.names;
in
"I have reviewed ${builtins.toString conferences.number} conference papers (${conferenceList})."
)
(
with latex;
[ "I was a teaching assistant for the following lectures:\\\\" ]
++ for (sort.reverse.byFun (x: x.year) service.teaching) (
item:
with item;
moderncv.cventry (builtins.toString year) name level institution (builtins.toString hours + "h") ""
)
)
];
}
|