about summary refs log tree commit diff
path: root/pkgs/applications/editors/hexedit
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2022-07-11 12:30:39 +0200
committerPierre Bourdon <delroth@gmail.com>2022-07-11 18:09:55 +0200
commitb30074d274794462f642587a3e82e42a05f5c834 (patch)
treed6626aa2856a2bfa39b55068fa21c80ef68ba36a /pkgs/applications/editors/hexedit
parent414af487b179af0d7792134c79bb83ab2b9617ce (diff)
downloadnixlib-b30074d274794462f642587a3e82e42a05f5c834.tar
nixlib-b30074d274794462f642587a3e82e42a05f5c834.tar.gz
nixlib-b30074d274794462f642587a3e82e42a05f5c834.tar.bz2
nixlib-b30074d274794462f642587a3e82e42a05f5c834.tar.lz
nixlib-b30074d274794462f642587a3e82e42a05f5c834.tar.xz
nixlib-b30074d274794462f642587a3e82e42a05f5c834.tar.zst
nixlib-b30074d274794462f642587a3e82e42a05f5c834.zip
hexedit: 1.2.13 -> 1.6
Diffstat (limited to 'pkgs/applications/editors/hexedit')
-rw-r--r--pkgs/applications/editors/hexedit/default.nix22
1 files 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 ];
   };
 }