1 { lib, stdenv, fetchurl }:
8 url = "https://www.netlib.org/f2c/src.tgz";
9 sha256 = "sha256-dLpnwyGjtikhbH7VpIoGHD5cNyKshc6wHczmkTdRcFo=";
12 makeFlags = [ "-f" "makefile.u" ];
17 mkdir -p $out/bin $out/share/man/man1
18 install -m755 f2c $out/bin
19 install -m755 xsum $out/bin
20 install f2c.1t $out/share/man/man1
26 description = "Convert Fortran 77 source code to C";
27 homepage = "https://www.netlib.org/f2c/";
28 license = licenses.mit;
29 maintainers = [ maintainers.markuskowa ];
30 platforms = platforms.unix;