1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 07:04:28 +00:00
nixpkgs/pkgs/development/tools/misc/cproto/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

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;
};
}