git.iko.soy/typeable/nixpkgs
on master help sign in
cvsq: init at 1.10
commitdf7ee19182c560db257e7d436d744ba073d88e36 authorChristian Lütke-Stetzkamp <christian@lkamp.de> dateMon 10 Feb 2020, 11:12 (7 years ago) parent60fadaa
3 files changed+75
maintainers/maintainer-list.nix+6 pkgs/applications/version-management/cvsq/default.nix+67 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+6
@@ -1340,6 +1340,12 @@
13401340 githubId = 25088352;
13411341 name = "Christian Kögler";
13421342 };
1343+ clkamp = {
1344+ email = "c@lkamp.de";
1345+ github = "clkamp";
1346+ githubId = 46303707;
1347+ name = "Christian Lütke-Stetzkamp";
1348+ };
13431349 kampka = {
13441350 email = "christian@kampka.net";
13451351 github = "kampka";
pkgs/applications/version-management/cvsq/default.nixnew file+67
@@ -0,0 +1,67 @@
1+{ stdenv
2+, fetchurl
3+, makeWrapper
4+, cvs
5+, perl
6+, nettools
7+, findutils
8+, rsync
9+, coreutils
10+, diffutils
11+} :
12+
13+stdenv.mkDerivation rec {
14+ pname = "cvsq";
15+ version = "1.10";
16+
17+ src = fetchurl {
18+ url = "http://www.linta.de/~aehlig/cvsq/cvsq-${version}.tgz";
19+ sha256 = "1a2e5666d4d23f1eb673a505caeb771ac62a86ed69c9ab89c4e2696c2ccd0621";
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 : ${stdenv.lib.makeBinPath
32+ [ cvs nettools findutils rsync coreutils diffutils ]}
33+ wrapProgram $out/bin/cvsq-branch --prefix PATH : ${stdenv.lib.makeBinPath
34+ [ cvs nettools findutils rsync coreutils diffutils ]}
35+ wrapProgram $out/bin/cvsq-merge --prefix PATH : ${stdenv.lib.makeBinPath
36+ [ cvs nettools findutils rsync coreutils diffutils ]}
37+ wrapProgram $out/bin/cvsq-switch --prefix PATH : ${stdenv.lib.makeBinPath
38+ [ cvs nettools findutils rsync coreutils diffutils ]}
39+ wrapProgram $out/bin/lcvs --prefix PATH : ${stdenv.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 = stdenv.lib.licenses.bsd3;
64+ maintainers = with stdenv.lib.maintainers; [ clkamp ];
65+ platforms = stdenv.lib.platforms.all;
66+ };
67+}
pkgs/top-level/all-packages.nix+2
@@ -18531,6 +18531,8 @@ in
1853118531
1853218532 cvsps = callPackage ../applications/version-management/cvsps { };
1853318533
18534+ cvsq = callPackage ../applications/version-management/cvsq { };
18535+
1853418536 cvs2svn = callPackage ../applications/version-management/cvs2svn { };
1853518537
1853618538 cwm = callPackage ../applications/window-managers/cwm { };