mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
1627b94ee7
Now you have to use either date= or tag= when specifying cvs revision svn path=/nixpkgs/trunk/; revision=9661
14 lines
402 B
Nix
14 lines
402 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)
|
|
|
|
{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;
|
|
}
|