2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2017-01-06 10:53:25 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "gnused-4.2.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-01 03:11:51 +02:00
|
|
|
url = "mirror://gnu/sed/sed-4.2.2.tar.bz2";
|
2017-01-06 10:53:25 +01:00
|
|
|
sha256 = "f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7";
|
|
|
|
};
|
|
|
|
|
2021-01-15 10:19:50 +01:00
|
|
|
configureFlags = lib.optional stdenv.hostPlatform.isMinGW "ac_cv_func__set_invalid_parameter_handler=no";
|
2018-11-11 07:57:28 +01:00
|
|
|
|
2017-01-06 10:53:25 +01:00
|
|
|
outputs = [ "out" "info" ];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.gnu.org/software/sed/";
|
2017-01-06 10:53:25 +01:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2017-01-06 10:53:25 +01:00
|
|
|
|
2021-01-15 10:19:50 +01:00
|
|
|
platforms = lib.platforms.all;
|
2017-01-06 10:53:25 +01:00
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|