8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
20 lines
519 B
Nix
20 lines
519 B
Nix
# 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}:
|
|
|
|
{cvsRoot, module, tag ? null, date ? null, sha256}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
name = "cvs-export";
|
|
builder = ./builder.sh;
|
|
nativeBuildInputs = [cvs openssh];
|
|
|
|
outputHashAlgo = "sha256";
|
|
outputHashMode = "recursive";
|
|
outputHash = sha256;
|
|
|
|
inherit cvsRoot module sha256 tag date;
|
|
}
|