depot/third_party/nixpkgs/pkgs/applications/version-management/tkcvs/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
622 B
Nix

{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;
};
}