summary refs log tree commit diff
path: root/pkgs/development/tools/misc/cproto/default.nix
blob: a7298214926518adf77b2c51a2c252a1e254c825 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, flex, bison }:

stdenv.mkDerivation {
  name = "cproto-4.6";

  src = fetchurl {
    url = mirror://sourceforge/cproto/cproto-4.6.tar.gz;
    sha256 = "0ilhkx9iwc5bh65q47mf68p39iyk07d52fv00z431nl6qcb9hp9j";
  };

  buildInputs = [flex bison];

  # patch made by Joe Khoobyar copied from gentoo bugs
  patches = ./cproto_patch;

  meta = {
    description = "Tool to generate C function prototypes from C source code";
    homepage = http://cproto.sourceforge.net/;
    license = stdenv.lib.licenses.publicDomain;
  };
}