mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
Move GNU ed, add meta-information.
svn path=/nixpkgs/trunk/; revision=11715
This commit is contained in:
parent
8d1d839579
commit
51bf90108f
28
pkgs/applications/editors/ed/default.nix
Normal file
28
pkgs/applications/editors/ed/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ fetchurl, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ed-0.9";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/ed/${name}.tar.bz2";
|
||||
sha256 = "1xy746g7ai9gmv6iq2x1ll8x6wy4fi9anfh7gj5ifsdnaiahgyi2";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "GNU ed, an implementation of the standard Unix stream editor";
|
||||
|
||||
longDescription = ''
|
||||
GNU ed is a line-oriented text editor. It is used to create,
|
||||
display, modify and otherwise manipulate text files, both
|
||||
interactively and via shell scripts. A restricted version of ed,
|
||||
red, can only edit files in the current directory and cannot
|
||||
execute shell commands. Ed is the "standard" text editor in the
|
||||
sense that it is the original editor for Unix, and thus widely
|
||||
available. For most purposes, however, it is superseded by
|
||||
full-screen editors such as GNU Emacs or GNU Moe.
|
||||
'';
|
||||
|
||||
license = "GPLv3+";
|
||||
|
||||
homepage = http://www.gnu.org/software/ed/;
|
||||
};
|
||||
}
|
@ -551,10 +551,6 @@ let pkgs = rec {
|
||||
|
||||
dosfstools = dosfstoolsFun null;
|
||||
|
||||
ed = import ../tools/text/ed {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
enscript = import ../tools/text/enscript {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
@ -5119,6 +5115,10 @@ let pkgs = rec {
|
||||
|
||||
eclipseSpoofax = lowPrio (appendToName "with-spoofax" (eclipse [spoofax]));
|
||||
|
||||
ed = import ../applications/editors/ed {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
elinks = import ../applications/networking/browsers/elinks {
|
||||
inherit stdenv fetchurl python perl ncurses x11 zlib openssl spidermonkey
|
||||
guile bzip2;
|
||||
|
Loading…
Reference in New Issue
Block a user