mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
31 lines
683 B
Nix
31 lines
683 B
Nix
{ stdenv, lib, fetchurl, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ht";
|
|
version = "2.1.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/hte/ht-source/ht-${version}.tar.bz2";
|
|
sha256 = "0w2xnw3z9ws9qrdpb80q55h6ynhh3aziixcfn45x91bzrbifix9i";
|
|
};
|
|
|
|
buildInputs = [
|
|
ncurses
|
|
];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
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 = [ ];
|
|
mainProgram = "ht";
|
|
};
|
|
}
|