diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-04-25 16:13:36 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-04-25 16:13:36 +0000 |
commit | 51bf90108f69f5c8512b41690f50e0781cc4ab4b (patch) | |
tree | b773f8bf13acd7c8f1b8ced5e11484cbc5c0da26 /pkgs/applications/editors/ed | |
parent | 8d1d839579390dc9c234863d019f6cdef06b7cb9 (diff) |
Move GNU ed, add meta-information.
svn path=/nixpkgs/trunk/; revision=11715
Diffstat (limited to 'pkgs/applications/editors/ed')
-rw-r--r-- | pkgs/applications/editors/ed/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/editors/ed/default.nix b/pkgs/applications/editors/ed/default.nix new file mode 100644 index 000000000000..86914ab14e07 --- /dev/null +++ b/pkgs/applications/editors/ed/default.nix @@ -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/; + }; +} |