@@ -0,0 +1,31 @@
1+{ stdenv, fetchurl }:
2+
3+stdenv.mkDerivation {
4+ name = "gnused-4.2.2";
5+
6+ src = fetchurl {
7+ url = mirror://gnu/sed/sed-4.2.2.tar.bz2;
8+ sha256 = "f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7";
9+ };
10+
11+ outputs = [ "out" "info" ];
12+
13+ meta = {
14+ homepage = http://www.gnu.org/software/sed/;
15+ description = "GNU sed, a batch stream editor";
16+
17+ longDescription = ''
18+ Sed (stream editor) isn't really a true text editor or text
19+ processor. Instead, it is used to filter text, i.e., it takes
20+ text input and performs some operation (or set of operations) on
21+ it and outputs the modified text. Sed is typically used for
22+ extracting part of a file using pattern matching or substituting
23+ multiple occurrences of a string within a file.
24+ '';
25+
26+ license = stdenv.lib.licenses.gpl3Plus;
27+
28+ platforms = stdenv.lib.platforms.all;
29+ maintainers = [ ];
30+ };
31+}