summary refs log tree commit diff
path: root/pkgs/build-support/fetchcvs/default.nix
blob: 60463ec56443e460c50bffdfc5f21a297564b001 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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)

{stdenv, cvs, nix}: {url, module, tag ? null, date ? null, sha256}:

stdenv.mkDerivation {
  name = "cvs-export";
  builder = ./builder.sh;
  buildInputs = [cvs nix];
  inherit url module sha256 tag date;
}