mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 13:53:05 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
29 lines
630 B
Nix
29 lines
630 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 = http://www.twobarleycorns.net/tkcvs.html;
|
|
description = "TCL/TK GUI for cvs and subversion";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|