From 28353f84406dd2377f708a995a08bf629946687c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 30 Apr 2009 19:36:26 +0000 Subject: [PATCH] GNU sed 4.2. svn path=/nixpkgs/trunk/; revision=15418 --- pkgs/tools/text/gnused/4.2.nix | 28 ++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/tools/text/gnused/4.2.nix diff --git a/pkgs/tools/text/gnused/4.2.nix b/pkgs/tools/text/gnused/4.2.nix new file mode 100644 index 00000000000..76e943b216e --- /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+"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 26ca04683f4..53d9adff217 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -742,6 +742,10 @@ let inherit fetchurl stdenv; }); + gnused_4_2 = import ../tools/text/gnused/4.2.nix { + inherit fetchurl stdenv; + }; + gnutar = useFromStdenv "gnutar" (import ../tools/archivers/gnutar { inherit fetchurl stdenv;