From b30074d274794462f642587a3e82e42a05f5c834 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Mon, 11 Jul 2022 12:30:39 +0200 Subject: [PATCH] hexedit: 1.2.13 -> 1.6 --- pkgs/applications/editors/hexedit/default.nix | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/editors/hexedit/default.nix b/pkgs/applications/editors/hexedit/default.nix index 56b721842a36..238bc905f713 100644 --- a/pkgs/applications/editors/hexedit/default.nix +++ b/pkgs/applications/editors/hexedit/default.nix @@ -1,20 +1,24 @@ -{ lib, stdenv, fetchurl, ncurses }: +{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses }: stdenv.mkDerivation rec { pname = "hexedit"; - version = "1.2.13"; + version = "1.6"; - src = fetchurl { - url = "http://rigaux.org/${pname}-${version}.src.tgz"; - sha256 = "1mwdp1ikk64cqmagnrrps5jkn3li3n47maiqh2qc1xbp1ains4ka"; + src = fetchFromGitHub { + owner = "pixel"; + repo = "hexedit"; + rev = version; + sha256 = "sha256-fIgPbr7qmxyEga2YaAD0+NBM8LeDm/tVAq99ub7aiAI="; }; + nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ ncurses ]; - meta = { + meta = with lib; { description = "View and edit files in hexadecimal or in ASCII"; - homepage = "http://prigaux.chez.com/hexedit.html"; - license = lib.licenses.gpl2Plus; - platforms = lib.platforms.unix; + homepage = "http://rigaux.org/hexedit.html"; + license = licenses.gpl2Plus; + platforms = platforms.unix; + maintainers = with maintainers; [ delroth ]; }; }