added cproto ( C function prototype generator )

svn path=/nixpkgs/trunk/; revision=11730
This commit is contained in:
Marc Weber
2008-04-27 18:20:57 +00:00
parent d05d1e3af5
commit 52c3910434
3 changed files with 35 additions and 0 deletions
@@ -0,0 +1,20 @@
args:
args.stdenv.mkDerivation {
name = "cproto-4.6";
src = args.fetchurl {
url = mirror://sourceforge/cproto/cproto-4.6.tar.gz;
sha256 = "0ilhkx9iwc5bh65q47mf68p39iyk07d52fv00z431nl6qcb9hp9j";
};
buildInputs =(with args; [flex bison]);
# patch made by Joe Khoobyar copied from gentoo bugs
patches= ./cproto_patch ;
meta = {
description = "generate C function prototypes from C source code";
homepage = http://cproto.sourceforge.net/;
license = "public domain";
};
}