2010-07-28 12:55:54 +01:00
|
|
|
{ stdenv, fetchurl, flex, bison }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-04-27 19:20:57 +01:00
|
|
|
name = "cproto-4.6";
|
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
src = fetchurl {
|
2008-04-27 19:20:57 +01:00
|
|
|
url = mirror://sourceforge/cproto/cproto-4.6.tar.gz;
|
|
|
|
sha256 = "0ilhkx9iwc5bh65q47mf68p39iyk07d52fv00z431nl6qcb9hp9j";
|
|
|
|
};
|
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
buildInputs = [flex bison];
|
2008-04-27 19:20:57 +01:00
|
|
|
|
|
|
|
# patch made by Joe Khoobyar copied from gentoo bugs
|
2010-07-28 12:55:54 +01:00
|
|
|
patches = ./cproto_patch;
|
2008-04-27 19:20:57 +01:00
|
|
|
|
2014-11-06 00:44:33 +00:00
|
|
|
meta = {
|
2010-07-28 12:55:54 +01:00
|
|
|
description = "Tool to generate C function prototypes from C source code";
|
|
|
|
homepage = http://cproto.sourceforge.net/;
|
2014-11-06 00:44:33 +00:00
|
|
|
license = stdenv.lib.licenses.publicDomain;
|
2008-04-27 19:20:57 +01:00
|
|
|
};
|
|
|
|
}
|