fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
23 lines
597 B
Nix
23 lines
597 B
Nix
{ stdenv, fetchurl, texinfo, ncurses, xz, lib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "texinfo";
|
|
version = "4.13a";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/texinfo/${pname}-${version}.tar.lzma";
|
|
sha256 = "1rf9ckpqwixj65bw469i634897xwlgkm5i9g2hv3avl6mv7b0a3d";
|
|
};
|
|
|
|
buildInputs = [ ncurses ];
|
|
nativeBuildInputs = [ xz ];
|
|
|
|
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [
|
|
"-Wno-error=implicit-function-declaration"
|
|
]);
|
|
|
|
# Disabled because we don't have zdiff in the stdenv bootstrap.
|
|
#doCheck = true;
|
|
|
|
meta = texinfo.meta // { branch = version; };
|
|
}
|