@@ -1,44 +0,0 @@
1−{ stdenv, fetchFromGitHub
2−, autoreconfHook, flex, bison, perl
3−, zlib, freetype, libpng, giflib
4−}:
5−
6−stdenv.mkDerivation rec {
7− pname = "ming";
8− version = "0.4.7";
9− name = "${pname}-${version}";
10−
11− src = fetchFromGitHub {
12− repo = "libming";
13− owner = "libming";
14− rev = "${pname}-${stdenv.lib.replaceStrings ["."] ["_"] version}";
15− sha256 = "17ngz1n1mnknixzchywkhbw9s3scad8ajmk97gx14xbsw1603gd2";
16− };
17−
18− # We don't currently build the Python, Perl, PHP, etc. bindings.
19− # Perl is needed for the test suite, though.
20−
21− outputs = [ "bin" "dev" "out" ];
22− nativeBuildInputs = [ autoreconfHook flex bison perl ];
23− buildInputs = [ freetype zlib libpng giflib ];
24−
25− postFixup = ''moveToOutput "bin/ming-config" $dev'';
26−
27− doCheck = true;
28−
29− meta = with stdenv.lib; {
30− description = "Library for generating Flash `.swf' files";
31−
32− longDescription = ''
33− Ming is a library for generating Macromedia Flash files (.swf),
34− written in C, and includes useful utilities for working with
35− .swf files. It has wrappers that allow it to be used in C++,
36− PHP, Python, Ruby, and Perl.
37− '';
38−
39− homepage = http://www.libming.org/;
40−
41− license = licenses.lgpl2Plus;
42− platforms = platforms.unix;
43− };
44−}