summary refs log tree commit diff
path: root/pkgs/development/libraries/ming/default.nix
blob: f9632dca9d22cda5b1490956fc3b6fa474400c03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ 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 = {
    description = "Ming, a library for generating Flash `.swf' files";

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

    license = stdenv.lib.licenses.lgpl2Plus;
  };
}