2I3TNVERHL3E2QXCDM67P4DU5OMO66X4ZWPGIK5S52NMIPS3NBMQC { pkgs ? import <nixpkgs> {}, stdenv ? pkgs.stdenv , fetchurl ? pkgs.fetchurl , perl ? pkgs.perl }:stdenv.mkDerivation rec {pname = "gnused-prefixed";version = "4.8";src = fetchurl {url = "mirror://gnu/sed/sed-${version}.tar.xz";sha256 = "0cznxw73fzv1n3nj2zsq6nf73rvsbxndp444xkpahdqvlzz0r6zp";};outputs = [ "out" "info" ];configureFlags = [ "--program-prefix=g" ];nativeBuildInputs = [ perl ];preConfigure = "patchShebangs ./build-aux/help2man";# Prevents attempts of running 'help2man' on cross-built binaries.PERL = if stdenv.hostPlatform == stdenv.buildPlatform then null else "missing";meta = {homepage = "https://www.gnu.org/software/sed/";description = "GNU sed, a batch stream editor";longDescription = ''Sed (stream editor) isn't really a true text editor or textprocessor. Instead, it is used to filter text, i.e., it takestext input and performs some operation (or set of operations) onit and outputs the modified text. Sed is typically used forextracting part of a file using pattern matching or substitutingmultiple occurrences of a string within a file. This version installs sedwith a `g` program prefix, for use on macOS.'';license = stdenv.lib.licenses.gpl3Plus;platforms = stdenv.lib.platforms.unix;maintainers = [ ];};}
result
{ pkgs ? import <nixpkgs> {}, stdenv ? pkgs.stdenv , fetchurl ? pkgs.fetchurl , perl ? pkgs.perl }:stdenv.mkDerivation rec {pname = "gnused-prefixed";version = "4.8";src = fetchurl {url = "mirror://gnu/sed/sed-${version}.tar.xz";sha256 = "0cznxw73fzv1n3nj2zsq6nf73rvsbxndp444xkpahdqvlzz0r6zp";};outputs = [ "out" "info" ];configureFlags = [ "--program-prefix=g" ];nativeBuildInputs = [ perl ];preConfigure = "patchShebangs ./build-aux/help2man";# Prevents attempts of running 'help2man' on cross-built binaries.PERL = if stdenv.hostPlatform == stdenv.buildPlatform then null else "missing";meta = {homepage = "https://www.gnu.org/software/sed/";description = "GNU sed, a batch stream editor";longDescription = ''Sed (stream editor) isn't really a true text editor or textprocessor. Instead, it is used to filter text, i.e., it takestext input and performs some operation (or set of operations) onit and outputs the modified text. Sed is typically used forextracting part of a file using pattern matching or substitutingmultiple occurrences of a string within a file. This version installs sedwith a `g` program prefix, for use on macOS.'';license = stdenv.lib.licenses.gpl3Plus;platforms = stdenv.lib.platforms.unix;maintainers = [ ];};}
result