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)
|
|
|
|
|
2022-02-10 13:40:58 +00:00
|
|
|
{stdenvNoCC, cvs, openssh, lib}:
|
2008-02-28 22:36:37 +00:00
|
|
|
|
2022-02-10 13:40:58 +00:00
|
|
|
lib.makeOverridable (
|
2024-09-15 22:02:31 +00:00
|
|
|
lib.fetchers.withNormalizedHash { } (
|
|
|
|
{cvsRoot, module, tag ? null, date ? null, outputHash, outputHashAlgo}:
|
2006-05-11 12:36:16 +00:00
|
|
|
|
2024-09-15 22:02:31 +00:00
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
name = "cvs-export";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
nativeBuildInputs = [cvs openssh];
|
2008-02-28 22:36:37 +00:00
|
|
|
|
2024-09-15 22:02:31 +00:00
|
|
|
inherit outputHash outputHashAlgo;
|
|
|
|
outputHashMode = "recursive";
|
2018-04-20 02:51:40 +00:00
|
|
|
|
2024-09-15 22:02:31 +00:00
|
|
|
inherit cvsRoot module tag date;
|
|
|
|
}
|
|
|
|
)
|
2022-02-10 13:40:58 +00:00
|
|
|
)
|