2008-09-02 13:43:53 +00:00
|
|
|
{ fetchurl, stdenv, flex, bison, freetype, zlib, libpng
|
|
|
|
, perl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ming-0.4.0.rc1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/ming/${name}.tar.bz2";
|
|
|
|
sha256 = "19brcqh4mqav5gsnmnb6j4gv9s0rmkg71657ck17xj8fdklq38y7";
|
|
|
|
};
|
|
|
|
|
|
|
|
# We don't currently build the Python, Perl, PHP, etc. bindings.
|
|
|
|
# Perl is needed for the test suite, though.
|
|
|
|
|
|
|
|
buildInputs = [ flex bison freetype zlib libpng perl ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "Library for generating Flash `.swf' files";
|
2008-09-02 13:43:53 +00:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Ming is a library for generating Macromedia Flash files (.swf),
|
|
|
|
written in C, and includes useful utilities for working with
|
|
|
|
.swf files. It has wrappers that allow it to be used in C++,
|
|
|
|
PHP, Python, Ruby, and Perl.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://www.libming.org/;
|
|
|
|
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2008-09-02 13:43:53 +00:00
|
|
|
};
|
|
|
|
}
|