1 { lib, stdenv, fetchurl, fetchpatch }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/mcpp/mcpp-${version}.tar.gz";
9 sha256 = "0r48rfghjm90pkdyr4khxg783g9v98rdx2n69xn8f6c5i0hl96rv";
12 configureFlags = [ "--enable-mcpplib" ];
16 name = "CVE-2019-14274.patch";
17 url = "https://github.com/h8liu/mcpp/commit/ea453aca2742be6ac43ba4ce0da6f938a7e5a5d8.patch";
18 sha256 = "0svkdr3w9b45v6scgzvggw9nsh6a3k7g19fqk0w3vlckwmk5ydzr";
23 homepage = "http://mcpp.sourceforge.net/";
24 description = "A portable c preprocessor";
25 license = licenses.bsd2;
26 platforms = platforms.unix;