nixpkgs/pkgs/applications/editors/ht/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
701 B
Nix
Raw Normal View History

{ stdenv, lib, fetchurl, ncurses }:
stdenv.mkDerivation rec {
pname = "ht";
version = "2.1.0";
2016-02-11 00:57:17 +00:00
src = fetchurl {
url = "mirror://sourceforge/project/hte/ht-source/ht-${version}.tar.bz2";
sha256 = "0w2xnw3z9ws9qrdpb80q55h6ynhh3aziixcfn45x91bzrbifix9i";
};
2016-02-11 00:57:17 +00:00
buildInputs = [
ncurses
];
2016-02-11 00:57:17 +00:00
hardeningDisable = [ "format" ];
2016-02-11 00:57:17 +00:00
2018-03-10 12:53:54 +00:00
patches = [ ./gcc7.patch ];
env.NIX_CFLAGS_COMPILE = toString [ "-Wno-narrowing" ];
meta = with lib; {
description = "File editor/viewer/analyzer for executables";
homepage = "https://hte.sourceforge.net";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
2023-11-27 01:17:53 +00:00
mainProgram = "ht";
};
}