nixpkgs-suyu/pkgs/development/compilers/mcpp/default.nix
Nikolay Amiantov 50399b9546 mcpp: pname-ify
2019-09-06 19:11:07 +03:00

20 lines
477 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "mcpp";
version = "2.7.2";
src = fetchurl {
url = "mirror://sourceforge/mcpp/mcpp-${version}.tar.gz";
sha256 = "0r48rfghjm90pkdyr4khxg783g9v98rdx2n69xn8f6c5i0hl96rv";
};
configureFlags = [ "--enable-mcpplib" ];
meta = with stdenv.lib; {
homepage = http://mcpp.sourceforge.net/;
description = "A portable c preprocessor";
license = licenses.bsd2;
platforms = platforms.unix;
};
}