2010-07-28 11:55:54 +00:00
|
|
|
{ stdenv, fetchurl, flex, bison }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-04-27 18:20:57 +00:00
|
|
|
name = "cproto-4.6";
|
|
|
|
|
2010-07-28 11:55:54 +00:00
|
|
|
src = fetchurl {
|
2008-04-27 18:20:57 +00:00
|
|
|
url = mirror://sourceforge/cproto/cproto-4.6.tar.gz;
|
|
|
|
sha256 = "0ilhkx9iwc5bh65q47mf68p39iyk07d52fv00z431nl6qcb9hp9j";
|
|
|
|
};
|
|
|
|
|
2010-07-28 11:55:54 +00:00
|
|
|
buildInputs = [flex bison];
|
2008-04-27 18:20:57 +00:00
|
|
|
|
|
|
|
# patch made by Joe Khoobyar copied from gentoo bugs
|
2010-07-28 11:55:54 +00:00
|
|
|
patches = ./cproto_patch;
|
2008-04-27 18:20:57 +00:00
|
|
|
|
2014-11-06 00:44:33 +00:00
|
|
|
meta = {
|
2010-07-28 11:55:54 +00: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;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2008-04-27 18:20:57 +00:00
|
|
|
};
|
|
|
|
}
|