about summary refs log tree commit diff
path: root/pkgs/tools/text/gnused
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-04-30 19:36:26 +0000
committerLudovic Courtès <ludo@gnu.org>2009-04-30 19:36:26 +0000
commit28353f84406dd2377f708a995a08bf629946687c (patch)
tree32934e986fcdcea22fa6713d7dedee43f9e4e1c8 /pkgs/tools/text/gnused
parent39195f42ff1aba45d64dc287fa1f4b3f2f0c6faa (diff)
GNU sed 4.2.
svn path=/nixpkgs/trunk/; revision=15418
Diffstat (limited to 'pkgs/tools/text/gnused')
-rw-r--r--pkgs/tools/text/gnused/4.2.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/text/gnused/4.2.nix b/pkgs/tools/text/gnused/4.2.nix
new file mode 100644
index 0000000000000..76e943b216ed8
--- /dev/null
+++ b/pkgs/tools/text/gnused/4.2.nix
@@ -0,0 +1,28 @@
+{stdenv, fetchurl}:
+
+stdenv.mkDerivation rec {
+  name = "gnused-4.2";
+  
+  src = fetchurl {
+    url = "mirror://gnu/sed/sed-4.2.tar.bz2";
+    sha256 = "1j25icv75rnc0r1b9hv2164rcnnn7ba4zx5xrvp7v3h3mgimaxzf";
+  };
+  
+  doCheck = true;
+
+  meta = {
+    homepage = http://www.gnu.org/software/sed/;
+    description = "GNU sed, a batch stream editor";
+
+    longDescription = ''
+      Sed (stream editor) isn't really a true text editor or text
+      processor.  Instead, it is used to filter text, i.e., it takes
+      text input and performs some operation (or set of operations) on
+      it and outputs the modified text.  Sed is typically used for
+      extracting part of a file using pattern matching or substituting
+      multiple occurrences of a string within a file.
+    '';
+
+    license = "GPLv3+";
+  };
+}