forked from mirrors/nixpkgs
855e0463ab
"platforms.gnu" has been linux-only since at least 17.03: $ nix eval -f channel:nixos-17.03 lib.platforms.gnu [ "i686-linux" "x86_64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "aarch64-linux" "mips64el-linux" ] Unlike platforms.linux, platforms.gnu indicates "must use glibc" which for the most part is not intended. Replacing platforms.gnu with platforms.linux would be the same "today" but let's err on preserving existing behavior and be optimistic about platforms these packages work on.
24 lines
693 B
Nix
24 lines
693 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "numdiff-${version}";
|
|
version = "5.9.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://savannah/numdiff/numdiff-${version}.tar.gz";
|
|
sha256 = "1vzmjh8mhwwysn4x4m2vif7q2k8i19x8azq7pzmkwwj4g48lla47";
|
|
};
|
|
meta = with stdenv.lib; {
|
|
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 = http://www.nongnu.org/numdiff/;
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ ndowens ];
|
|
platforms = platforms.gnu ++ platforms.linux;
|
|
};
|
|
}
|