2015-05-27 01:23:55 +00:00
|
|
|
{ stdenv, lib, fetchurl, ncurses }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ht-${version}";
|
|
|
|
version = "2.1.0";
|
2016-02-11 00:57:17 +00:00
|
|
|
|
2015-05-27 01:23:55 +00:00
|
|
|
src = fetchurl {
|
2016-08-20 13:33:27 +00:00
|
|
|
url = "mirror://sourceforge/project/hte/ht-source/ht-${version}.tar.bz2";
|
2015-05-27 01:23:55 +00:00
|
|
|
sha256 = "0w2xnw3z9ws9qrdpb80q55h6ynhh3aziixcfn45x91bzrbifix9i";
|
|
|
|
};
|
2016-02-11 00:57:17 +00:00
|
|
|
|
2015-05-27 01:23:55 +00:00
|
|
|
buildInputs = [
|
|
|
|
ncurses
|
|
|
|
];
|
2016-02-11 00:57:17 +00:00
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-11 00:57:17 +00:00
|
|
|
|
2018-03-10 12:53:54 +00:00
|
|
|
patches = [ ./gcc7.patch ];
|
|
|
|
|
2015-05-27 01:23:55 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "File editor/viewer/analyzer for executables";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://hte.sourceforge.net;
|
2015-05-27 01:23:55 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
};
|
|
|
|
}
|