1{ fetchurl, stdenv, flex, bison, freetype, zlib, libpng
2, perl }:
3
4stdenv.mkDerivation rec {
5 name = "ming-0.4.5";
6
7 src = fetchurl {
8 url = "mirror://sourceforge/ming/${name}.tar.bz2";
9 sha256 = "1sws4cs9i9hysr1l0b8hsmqf4gh06ldc24fw6avzr9y3vydhinl2";
10 };
11
12 # We don't currently build the Python, Perl, PHP, etc. bindings.
13 # Perl is needed for the test suite, though.
14
15 buildInputs = [ flex bison freetype zlib libpng perl ];
16
17 doCheck = true;
18
19 meta = {
20 description = "Library for generating Flash `.swf' files";
21
22 longDescription = ''
23 Ming is a library for generating Macromedia Flash files (.swf),
24 written in C, and includes useful utilities for working with
25 .swf files. It has wrappers that allow it to be used in C++,
26 PHP, Python, Ruby, and Perl.
27 '';
28
29 homepage = http://www.libming.org/;
30
31 license = stdenv.lib.licenses.lgpl2Plus;
32 };
33}