29 lines
850 B
Nix
29 lines
850 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gnused-4.2.1";
|
|
|
|
src = fetchurl {
|
|
url = mirror://gnu/sed/sed-4.2.1.tar.gz;
|
|
sha256 = "0q1hzjvr6pzhaagidg7pj76k1fzz5nl15np7p72w9zcpw0f58ww7";
|
|
};
|
|
|
|
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+";
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
maintainers = [ ];
|
|
};
|
|
}
|