mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
23 lines
584 B
Nix
23 lines
584 B
Nix
{ 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;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|