2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchurl, tcl, tk }:
|
2018-02-07 10:38:58 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "uudeview-0.5.20";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.fpx.de/fp/Software/UUDeview/download/${name}.tar.gz";
|
|
|
|
sha256 = "0dg4v888fxhmf51vxq1z1gd57fslsidn15jf42pj4817vw6m36p4";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ tcl tk ];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
configureFlags = [ "--enable-tk=${tk.dev}" "--enable-tcl=${tcl}" ];
|
2018-08-09 19:32:30 +01:00
|
|
|
|
|
|
|
# https://wiki.tcl.tk/3577
|
|
|
|
patches = [ ./matherr.patch ];
|
2018-02-07 10:38:58 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace tcl/xdeview --replace "exec uuwish" "exec $out/bin/uuwish"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The Nice and Friendly Decoder";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.fpx.de/fp/Software/UUDeview/";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = with lib.maintainers; [ woffs ];
|
|
|
|
platforms = lib.platforms.linux;
|
2018-02-07 10:38:58 +00:00
|
|
|
};
|
|
|
|
}
|