diff options
author | William A. Kennington III <william@wkennington.com> | 2014-01-30 19:52:12 -0600 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2014-01-30 21:56:17 -0600 |
commit | 4dae2621e3c1a8e58aad9b34fccf40613828e60e (patch) | |
tree | 085288565046f4cda5a46507c0f04da6fad6e81d /pkgs/development/compilers/mcpp | |
parent | 82f315cd7d91facd372f6f79046ae64c7d108ed2 (diff) |
mcpp: Add package
Diffstat (limited to 'pkgs/development/compilers/mcpp')
-rw-r--r-- | pkgs/development/compilers/mcpp/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/compilers/mcpp/default.nix b/pkgs/development/compilers/mcpp/default.nix new file mode 100644 index 0000000000000..34cb63e783ecc --- /dev/null +++ b/pkgs/development/compilers/mcpp/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchurl, mcpp }: + +stdenv.mkDerivation rec { + name = "mcpp-2.7.2"; + + src = fetchurl { + url = "mirror://sourceforge/mcpp/${name}.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; + }; +} |