git.iko.soy/typeable/nixpkgs
on master help sign in
sed: bring back 4.2.2 temporarily

It will be useful to fixup compatibility problems with [:space:].

commitcb70a594cbf6cc097d9ac57d3b036d2418452006 authorVladimír Čunát <vcunat@gmail.com> dateFri 6 Jan 2017, 10:53 (10 years ago) parent789b811
2 files changed+33
pkgs/tools/text/gnused/422.nix+31 pkgs/top-level/all-packages.nix+2
pkgs/tools/text/gnused/422.nixnew file+31
@@ -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+}
pkgs/top-level/all-packages.nix+2
@@ -1940,6 +1940,8 @@ in
19401940 gnuplot_aquaterm = gnuplot.override { aquaterm = true; };
19411941
19421942 gnused = callPackage ../tools/text/gnused { };
1943+ # This is an easy work-around for [:space:] problems.
1944+ gnused_422 = callPackage ../tools/text/gnused/422.nix { };
19431945
19441946 gnutar = callPackage ../tools/archivers/gnutar { };
19451947