mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 00:22:13 +00:00
007f80c1d0
Should eval cleanly, as far as -A tarball tells me. Relevant: issue #2999, issue #739
22 lines
540 B
Nix
22 lines
540 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;
|
|
};
|
|
}
|