about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-03-21 23:18:17 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-03-22 07:30:37 -0300
commite4e91c61b21c3bc0d3dc83f9dec0cea8eef14ceb (patch)
treee88ad4598d93d287e07da4d9e24b2526daadf013 /pkgs/applications/editors
parent6477d7f0eae45ca9dffb04127616ec26b9ebaeb2 (diff)
moe: 1.12 -> 1.13
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/moe/default.nix34
1 files changed, 20 insertions, 14 deletions
diff --git a/pkgs/applications/editors/moe/default.nix b/pkgs/applications/editors/moe/default.nix
index 79595a00c2624..197cccd43c3fa 100644
--- a/pkgs/applications/editors/moe/default.nix
+++ b/pkgs/applications/editors/moe/default.nix
@@ -1,16 +1,17 @@
-{ lib, stdenv
+{ lib
+, stdenv
 , fetchurl
-, ncurses
 , lzip
+, ncurses
 }:
 
-stdenv.mkDerivation rec {
+stdenv.mkDerivation (self: {
   pname = "moe";
-  version = "1.12";
+  version = "1.13";
 
   src = fetchurl {
-    url = "mirror://gnu/moe/${pname}-${version}.tar.lz";
-    sha256 = "sha256-iohfK+Qm+OBK05yWASvYYJVAhaI3RPJFFmMWiCbXoeg=";
+    url = "mirror://gnu/moe/moe-${self.version}.tar.lz";
+    hash = "sha256-Q6VXvFEvidbHGOX0ECnP46BVaCYg642+zmMC80omFGs=";
   };
 
   prePatch = ''
@@ -19,10 +20,16 @@ stdenv.mkDerivation rec {
       "insert( 0U, 1U,"
   '';
 
-  nativeBuildInputs = [ lzip ];
-  buildInputs = [ ncurses ];
+  nativeBuildInputs = [
+    lzip
+  ];
+
+  buildInputs = [
+    ncurses
+  ];
 
-  meta = with lib; {
+  meta = {
+    homepage = "https://www.gnu.org/software/moe/";
     description = "A small, 8-bit clean editor";
     longDescription = ''
       GNU moe is a powerful, 8-bit clean, console text editor for ISO-8859 and
@@ -33,10 +40,9 @@ stdenv.mkDerivation rec {
       completion, directory browser, duplicate removal from prompt histories,
       delimiter matching, text conversion from/to UTF-8, romanization, etc.
     '';
-    homepage = "https://www.gnu.org/software/moe/";
-    license = licenses.gpl2Plus;
-    maintainers = with maintainers; [ AndersonTorres ];
-    platforms = platforms.unix;
+    license = lib.licenses.gpl2Plus;
+    maintainers = with lib.maintainers; [ AndersonTorres ];
+    platforms = lib.platforms.unix;
   };
-}
+})
 # TODO: a configurable, global moerc file