Skip to content

Commit

Permalink
moe: 1.12 -> 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersonTorres committed Mar 22, 2023
1 parent 6477d7f commit e4e91c6
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions pkgs/applications/editors/moe/default.nix
Original file line number Diff line number Diff line change
@@ -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 = ''
Expand All @@ -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
Expand All @@ -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

0 comments on commit e4e91c6

Please sign in to comment.