summary refs log tree commit diff
path: root/pkgs/applications/version-management/tkcvs/default.nix
blob: 48558c15dc1c4834cad7b3955c388746789e2562 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{stdenv, fetchurl, tcl, tk}:

stdenv.mkDerivation
{
  name = "tkcvs-8.2.1";

  src = fetchurl {
    url = mirror://sourceforge/tkcvs/tkcvs_8_2_1.tar.gz;
    sha256 = "0kvj6rcx1153wq0n1lmd8imbrki6xy5wxghwzlb9i15l65sclg3i";
  };

  buildInputs = [ tcl tk ];

  patchPhase = ''
    sed -e 's@exec wish@exec ${tk}/bin/wish@' -i tkcvs/tkcvs.tcl tkdiff/tkdiff
  '';

  installPhase = ''
    ./doinstall.tcl $out
  '';

  meta = {
    homepage = https://tkcvs.sourceforge.io;
    description = "TCL/TK GUI for cvs and subversion";
    license = stdenv.lib.licenses.gpl2Plus;
    platforms = stdenv.lib.platforms.unix;
  };
}