1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/development/libraries/ming/default.nix

34 lines
901 B
Nix
Raw Normal View History

{ fetchurl, stdenv, flex, bison, freetype, zlib, libpng
, perl }:
stdenv.mkDerivation rec {
2014-11-19 07:43:36 +00:00
name = "ming-0.4.5";
src = fetchurl {
url = "mirror://sourceforge/ming/${name}.tar.bz2";
2014-11-19 07:43:36 +00:00
sha256 = "1sws4cs9i9hysr1l0b8hsmqf4gh06ldc24fw6avzr9y3vydhinl2";
};
# 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 = "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;
};
}