1 { lib, stdenv, fetchurl, gawk, cmake }:
3 stdenv.mkDerivation rec {
6 script = ./extract-cfile.awk;
9 url = "http://www.ietf.org/rfc/rfc3951.txt";
10 sha256 = "0zf4mvi3jzx6zjrfl2rbhl2m68pzbzpf1vbdmn7dqbfpcb67jpdy";
13 nativeBuildInputs = [ cmake ];
18 ${gawk}/bin/gawk -f ${script} ${rfc3951}
19 cp -v ${./CMakeLists.txt} CMakeLists.txt
23 platforms = lib.platforms.unix;