depot/third_party/nixpkgs/pkgs/applications/version-management/tkcvs/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

28 lines
671 B
Nix

{ lib, stdenv, fetchurl, tcl, tk }:
stdenv.mkDerivation rec {
pname = "tkcvs";
version = "8.2.1";
src = fetchurl {
url = "mirror://sourceforge/tkcvs/tkcvs_${lib.replaceStrings ["."] ["_"] version}.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 = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
};
}