nixpkgs-suyu/pkgs/development/compilers/mcpp/default.nix

21 lines
479 B
Nix
Raw Normal View History

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