{ lib, stdenv, fetchurl, fetchDebianPatch, libintl, }: stdenv.mkDerivation (finalAttrs: { pname = "numdiff"; version = "5.9.0"; src = fetchurl { url = "mirror://savannah/numdiff/numdiff-${finalAttrs.version}.tar.gz"; sha256 = "1vzmjh8mhwwysn4x4m2vif7q2k8i19x8azq7pzmkwwj4g48lla47"; }; patches = [ (fetchDebianPatch { pname = "numdiff"; version = "5.9.0"; debianRevision = "2"; patch = "0005-gcc-15.patch"; hash = "sha256-+8pNiEfGuh/03LRCY6kuoIcPZ4fQOhNrD93ZW/mXxJw="; }) ]; buildInputs = [ libintl ]; meta = { description = '' A little program that can be used to compare putatively similar files line by line and field by field, ignoring small numeric differences or/and different numeric formats ''; homepage = "https://www.nongnu.org/numdiff/"; license = lib.licenses.gpl3Plus; maintainers = [ ]; platforms = lib.platforms.unix; }; })