2015-05-27 02:23:55 +01:00
|
|
|
{ stdenv, lib, fetchurl, ncurses }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ht";
|
2015-05-27 02:23:55 +01:00
|
|
|
version = "2.1.0";
|
2016-02-11 00:57:17 +00:00
|
|
|
|
2015-05-27 02:23:55 +01:00
|
|
|
src = fetchurl {
|
2016-08-20 14:33:27 +01:00
|
|
|
url = "mirror://sourceforge/project/hte/ht-source/ht-${version}.tar.bz2";
|
2015-05-27 02:23:55 +01:00
|
|
|
sha256 = "0w2xnw3z9ws9qrdpb80q55h6ynhh3aziixcfn45x91bzrbifix9i";
|
|
|
|
};
|
2016-02-11 00:57:17 +00:00
|
|
|
|
2015-05-27 02:23:55 +01: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 ];
|
|
|
|
|
2021-02-06 11:38:10 +00:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-Wno-narrowing" ];
|
|
|
|
|
2015-05-27 02:23:55 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "File editor/viewer/analyzer for executables";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://hte.sourceforge.net";
|
2015-05-27 02:23:55 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
};
|
|
|
|
}
|