hexedit: migrate to by-name, refactor

hexedit: remove from top-level

+31 -27
-25
pkgs/applications/editors/hexedit/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "hexedit"; 5 - version = "1.6"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "pixel"; 9 - repo = "hexedit"; 10 - rev = version; 11 - sha256 = "sha256-fIgPbr7qmxyEga2YaAD0+NBM8LeDm/tVAq99ub7aiAI="; 12 - }; 13 - 14 - nativeBuildInputs = [ autoreconfHook ]; 15 - buildInputs = [ ncurses ]; 16 - 17 - meta = with lib; { 18 - description = "View and edit files in hexadecimal or in ASCII"; 19 - homepage = "http://rigaux.org/hexedit.html"; 20 - license = licenses.gpl2Plus; 21 - platforms = platforms.unix; 22 - maintainers = with maintainers; [ sigmanificient ]; 23 - mainProgram = "hexedit"; 24 - }; 25 - }
+31
pkgs/by-name/he/hexedit/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + autoreconfHook, 6 + ncurses, 7 + }: 8 + 9 + stdenv.mkDerivation (finalAttrs: { 10 + pname = "hexedit"; 11 + version = "1.6"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "pixel"; 15 + repo = "hexedit"; 16 + rev = finalAttrs.version; 17 + hash = "sha256-fIgPbr7qmxyEga2YaAD0+NBM8LeDm/tVAq99ub7aiAI="; 18 + }; 19 + 20 + nativeBuildInputs = [ autoreconfHook ]; 21 + buildInputs = [ ncurses ]; 22 + 23 + meta = { 24 + description = "View and edit files in hexadecimal or in ASCII"; 25 + homepage = "http://rigaux.org/hexedit.html"; 26 + license = lib.licenses.gpl2Plus; 27 + platforms = lib.platforms.unix; 28 + maintainers = with lib.maintainers; [ sigmanificient ]; 29 + mainProgram = "hexedit"; 30 + }; 31 + })
-2
pkgs/top-level/all-packages.nix
··· 31501 31501 31502 31502 hexdino = callPackage ../applications/editors/hexdino { }; 31503 31503 31504 - hexedit = callPackage ../applications/editors/hexedit { }; 31505 - 31506 31504 hydrogen-web-unwrapped = callPackage ../applications/networking/instant-messengers/hydrogen-web/unwrapped.nix { }; 31507 31505 31508 31506 hydrogen-web = callPackage ../applications/networking/instant-messengers/hydrogen-web/wrapper.nix {