uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
42
pkgs/applications/editors/moe/default.nix
Normal file
42
pkgs/applications/editors/moe/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, ncurses
|
||||
, lzip
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "moe";
|
||||
version = "1.12";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/moe/${pname}-${version}.tar.lz";
|
||||
sha256 = "sha256-iohfK+Qm+OBK05yWASvYYJVAhaI3RPJFFmMWiCbXoeg=";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace window_vector.cc --replace \
|
||||
"insert( 0U, 1," \
|
||||
"insert( 0U, 1U,"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ lzip ];
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A small, 8-bit clean editor";
|
||||
longDescription = ''
|
||||
GNU moe is a powerful, 8-bit clean, console text editor for ISO-8859 and
|
||||
ASCII character encodings. It has a modeless, user-friendly interface,
|
||||
online help, multiple windows, unlimited undo/redo capability, unlimited
|
||||
line length, unlimited buffers, global search/replace (on all buffers at
|
||||
once), block operations, automatic indentation, word wrapping, file name
|
||||
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;
|
||||
};
|
||||
}
|
||||
# TODO: a configurable, global moerc file
|
||||
Loading…
Add table
Add a link
Reference in a new issue