blob: 7173a23bc8caf6cd68925e7c411976342a47daf5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
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;
};
})
|