aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/text/hyx/default.nix
blob: 83fdabb8f46fe3ded04c6ff64baa72630f8731e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
  name = "hyx-0.1.5";

  src = fetchurl {
    url = "https://yx7.cc/code/hyx/${name}.tar.xz";
    sha256 = "0gd8fbdyw12jwffa5dgcql4ry22xbdhqdds1qwzk1rkcrkgnc1mg";
  };

  patches = [ ./no-wall-by-default.patch ];

  installPhase = ''
    install -vD hyx $out/bin/hyx
  '';

  meta = with lib; {
    description = "minimalistic but powerful Linux console hex editor";
    homepage = "https://yx7.cc/code/";
    license = licenses.mit;
    maintainers = with maintainers; [ fpletz ];
    platforms = platforms.linux;
  };
}