2015-05-27 01:23:55 +00:00
|
|
|
{ stdenv, lib, fetchurl, ncurses }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "ht";
|
2015-05-27 01:23:55 +00:00
|
|
|
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 ];
|
|
|
|
|
2023-02-19 19:23:32 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = toString [ "-Wno-narrowing" ];
|
2021-02-06 11:38:10 +00:00
|
|
|
|
2015-05-27 01:23:55 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "File editor/viewer/analyzer for executables";
|
2023-02-19 20:43:38 +00:00
|
|
|
homepage = "https://hte.sourceforge.net";
|
2015-05-27 01:23:55 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2023-09-29 18:19:55 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "ht";
|
2015-05-27 01:23:55 +00:00
|
|
|
};
|
|
|
|
}
|