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