52c3910434
svn path=/nixpkgs/trunk/; revision=11730
21 lines
514 B
Nix
21 lines
514 B
Nix
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";
|
|
};
|
|
}
|