nixpkgs-suyu/pkgs/tools/text/wdiff/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

28 lines
674 B
Nix

{ lib, stdenv, fetchurl, texinfo, which }:
stdenv.mkDerivation rec {
pname = "wdiff";
version = "1.2.2";
src = fetchurl {
url = "mirror://gnu/wdiff/${pname}-${version}.tar.gz";
sha256 = "0sxgg0ms5lhi4aqqvz1rj4s77yi9wymfm3l3gbjfd1qchy66kzrl";
};
# for makeinfo
nativeBuildInputs = [ texinfo ];
buildInputs = [ texinfo ];
nativeCheckInputs = [ which ];
strictDeps = true;
meta = with lib; {
homepage = "https://www.gnu.org/software/wdiff/";
description = "Comparing files on a word by word basis";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ eelco SuperSandro2000 ];
platforms = platforms.unix;
};
}