summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/text/gnused
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-01-05 00:17:27 +0100
committerVladimír Čunát <vcunat@gmail.com>2017-01-05 00:17:59 +0100
commitbe489cf48ca25a2e8349ff2dcce82a2738e17290 (patch)
tree647de0583d3999e184d5a51d66fe9e01e261ec04 /pkgs/tools/text/gnused
parent22796f0d4f47a7942dd443ca125ade898032022b (diff)
gnused: 4.2.2 -> 4.3
Real replacement of #21646.
Diffstat (limited to 'pkgs/tools/text/gnused')
-rw-r--r--pkgs/tools/text/gnused/default.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/tools/text/gnused/default.nix b/pkgs/tools/text/gnused/default.nix
index 037c2f17a63b..aa25101636e0 100644
--- a/pkgs/tools/text/gnused/default.nix
+++ b/pkgs/tools/text/gnused/default.nix
@@ -1,15 +1,19 @@
-{ stdenv, fetchurl }:
+{ stdenv, fetchurl, perl }:
-stdenv.mkDerivation {
- name = "gnused-4.2.2";
+stdenv.mkDerivation rec {
+ name = "gnused-${version}";
+ version = "4.3";
src = fetchurl {
- url = mirror://gnu/sed/sed-4.2.2.tar.bz2;
- sha256 = "f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7";
+ url = "mirror://gnu/sed/sed-${version}.tar.xz";
+ sha256 = "1anhdgah8h423hlmn9hwzxzr7hjbqjm6hxq3z1p7p7nf8640vhj7";
};
outputs = [ "out" "info" ];
+ nativeBuildInputs = [ perl ];
+ preConfigure = "patchShebangs ./build-aux/help2man";
+
meta = {
homepage = http://www.gnu.org/software/sed/;
description = "GNU sed, a batch stream editor";