2021-11-07 13:50:48 +00:00
|
|
|
{ lib, stdenv, fetchurl, tcl, tk }:
|
2009-06-19 09:02:48 +00:00
|
|
|
|
2021-11-07 13:50:48 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2022-03-07 14:06:19 +00:00
|
|
|
pname = "tkrev";
|
|
|
|
version = "9.4.1";
|
2009-06-19 09:02:48 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-03-07 14:06:19 +00:00
|
|
|
url = "mirror://sourceforge/tkcvs/tkrev_${version}.tar.gz";
|
|
|
|
sha256 = "sha256-WHDZPShEB9Q+Bjbb37mogJLUZk2GuWoO8bz+Zydc7i4=";
|
2009-06-19 09:02:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ tcl tk ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
2022-03-07 14:06:19 +00:00
|
|
|
for file in tkrev/tkrev.tcl tkdiff/tkdiff; do
|
|
|
|
substituteInPlace "$file" \
|
|
|
|
--replace "exec wish" "exec ${tk}/bin/wish"
|
|
|
|
done
|
2009-06-19 09:02:48 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
./doinstall.tcl $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://tkcvs.sourceforge.io";
|
2009-06-19 09:02:48 +00:00
|
|
|
description = "TCL/TK GUI for cvs and subversion";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.unix;
|
2009-06-19 09:02:48 +00:00
|
|
|
};
|
|
|
|
}
|