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