Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 479 B view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "mcpp"; 5 version = "2.7.2"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/mcpp/mcpp-${version}.tar.gz"; 9 sha256 = "0r48rfghjm90pkdyr4khxg783g9v98rdx2n69xn8f6c5i0hl96rv"; 10 }; 11 12 configureFlags = [ "--enable-mcpplib" ]; 13 14 meta = with stdenv.lib; { 15 homepage = "http://mcpp.sourceforge.net/"; 16 description = "A portable c preprocessor"; 17 license = licenses.bsd2; 18 platforms = platforms.unix; 19 }; 20}