1 { lib, stdenv, fetchurl }:
8 url = "https://www.netlib.org/f2c/src.tgz";
9 sha256 = "sha256-TTPve2fe31/Ad+xFAWy6NUIes2QyUi6NjFucN0pdb5k=";
12 makeFlags = [ "-f" "makefile.u" ];
14 # Ensure xsum binary is built from scratch
20 mkdir -p $out/bin $out/share/man/man1
21 install -m755 f2c $out/bin
22 install -m755 xsum $out/bin
23 install f2c.1t $out/share/man/man1
29 description = "Convert Fortran 77 source code to C";
30 homepage = "https://www.netlib.org/f2c/";
31 license = licenses.mit;
32 maintainers = [ maintainers.markuskowa ];
33 platforms = platforms.unix;