blob: b7cd5ffb878b0ca74370248aff1f621827dad401 (
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
34
35
36
37
38
39
40
41
42
43
|
# example tags:
# date="2007-20-10"; (get the last version before given date)
# tag="<tagname>" (get version by tag name)
# If you don't specify neither one date="NOW" will be used (get latest)
{
stdenvNoCC,
cvs,
openssh,
lib,
}:
lib.makeOverridable (
lib.fetchers.withNormalizedHash { } (
{
cvsRoot,
module,
tag ? null,
date ? null,
outputHash,
outputHashAlgo,
}:
stdenvNoCC.mkDerivation {
name = "cvs-export";
builder = ./builder.sh;
nativeBuildInputs = [
cvs
openssh
];
inherit outputHash outputHashAlgo;
outputHashMode = "recursive";
inherit
cvsRoot
module
tag
date
;
}
)
)
|