2007-11-11 09:16:23 +01:00
|
|
|
# example tags:
|
2007-11-13 02:26:54 +01:00
|
|
|
# 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)
|
|
|
|
|
2018-04-20 04:51:40 +02:00
|
|
|
{stdenvNoCC, cvs, openssh}:
|
2008-02-28 23:36:37 +01:00
|
|
|
|
|
|
|
{cvsRoot, module, tag ? null, date ? null, sha256}:
|
2006-05-11 14:36:16 +02:00
|
|
|
|
2018-01-10 00:38:19 +01:00
|
|
|
stdenvNoCC.mkDerivation {
|
2006-05-11 14:36:16 +02:00
|
|
|
name = "cvs-export";
|
|
|
|
builder = ./builder.sh;
|
2018-04-20 04:51:40 +02:00
|
|
|
nativeBuildInputs = [cvs openssh];
|
2008-02-28 23:36:37 +01:00
|
|
|
|
|
|
|
outputHashAlgo = "sha256";
|
|
|
|
outputHashMode = "recursive";
|
|
|
|
outputHash = sha256;
|
2018-04-20 04:51:40 +02:00
|
|
|
|
2008-02-28 23:36:37 +01:00
|
|
|
inherit cvsRoot module sha256 tag date;
|
2006-05-11 14:36:16 +02:00
|
|
|
}
|