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