lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.11-beta 67 lines 2.6 kB view raw
1{ lib, stdenv 2, fetchurl 3, makeWrapper 4, cvs 5, perl 6, nettools 7, findutils 8, rsync 9, coreutils 10, diffutils 11} : 12 13stdenv.mkDerivation rec { 14 pname = "cvsq"; 15 version = "1.11"; 16 17 src = fetchurl { 18 url = "http://www.linta.de/~aehlig/cvsq/cvsq-${version}.tgz"; 19 sha256 = "0491k4skk3jyyd6plp2kcihmxxav9rsch7vd1yi697m2fqckp5ws"; 20 }; 21 22 nativeBuildInputs = [ makeWrapper ]; 23 buildInputs = [ cvs perl nettools findutils rsync coreutils diffutils ]; 24 25 26 makeFlags = [ "prefix=$(out)" ]; 27 28 postInstall = '' 29 substituteInPlace $out/bin/cvsq --replace "/bin/sh" "${stdenv.shell}" 30 substituteInPlace $out/bin/lcvs --replace "/bin/sh" "${stdenv.shell}" 31 wrapProgram $out/bin/cvsq --prefix PATH : ${lib.makeBinPath 32 [ cvs nettools findutils rsync coreutils diffutils ]} 33 wrapProgram $out/bin/cvsq-branch --prefix PATH : ${lib.makeBinPath 34 [ cvs nettools findutils rsync coreutils diffutils ]} 35 wrapProgram $out/bin/cvsq-merge --prefix PATH : ${lib.makeBinPath 36 [ cvs nettools findutils rsync coreutils diffutils ]} 37 wrapProgram $out/bin/cvsq-switch --prefix PATH : ${lib.makeBinPath 38 [ cvs nettools findutils rsync coreutils diffutils ]} 39 wrapProgram $out/bin/lcvs --prefix PATH : ${lib.makeBinPath 40 [ cvs nettools findutils rsync coreutils diffutils ]} 41 ''; 42 43 meta = { 44 description = "A collection of tools to work locally with CVS"; 45 longDescription = '' 46 cvsq is a collection of tools to work locally with CVS. 47 48 cvsq queues commits and other cvs commands in a queue to be executed later, 49 when the machine is online again. In case of a commit (the default action) 50 an actual copy of the working directory is made, so that you can continue 51 editing without affecting the scheduled commit. You can even schedule 52 several successive commits to the same file and they will be correctly 53 committed as successive commits at the time of upload. This is different 54 from an earlier script also named cvsq that you might have seen elsewhere. 55 56 lcvs uses rsync to maintain a local copy of a cvs repository. It also 57 gives a convenient interface to call cvs in such a way that it believes the 58 current working directory refers to the local copy rather than to the actual 59 repository. This is useful for commands like log, diff, etc; however it cannot 60 be used for commits (that's what cvsq is for). 61 ''; 62 homepage = "https://www.linta.de/~aehlig/cvsq/"; 63 license = lib.licenses.bsd3; 64 maintainers = with lib.maintainers; [ clkamp ]; 65 platforms = lib.platforms.all; 66 }; 67}