2015-01-26 11:05:37 +00:00
|
|
|
{ stdenv, fetchurl, freetype, libjpeg, libungif, zlib }:
|
2008-10-16 11:01:10 +00:00
|
|
|
|
2015-01-26 11:05:37 +00:00
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "swftools-${version}";
|
|
|
|
version = "0.9.2";
|
2008-10-16 11:01:10 +00:00
|
|
|
|
2010-07-28 11:55:54 +00:00
|
|
|
src = fetchurl {
|
2015-01-26 11:05:37 +00:00
|
|
|
url = "http://www.swftools.org/${name}.tar.gz";
|
|
|
|
sha256 = "1w81dyi81019a6jmnm5z7fzarswng27lg1d4k4d5llxzqszr2s5z";
|
2008-10-16 11:01:10 +00:00
|
|
|
};
|
|
|
|
|
2015-01-26 11:05:37 +00:00
|
|
|
patches = [ ./swftools.patch ];
|
2008-10-16 11:01:10 +00:00
|
|
|
|
2015-01-26 11:05:37 +00:00
|
|
|
buildInputs = [ freetype libjpeg libungif zlib ];
|
|
|
|
|
|
|
|
meta = {
|
2010-07-28 11:55:54 +00:00
|
|
|
description = "Collection of SWF manipulation and creation utilities";
|
|
|
|
homepage = http://www.swftools.org/about.html;
|
2015-01-26 11:05:37 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.koral ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2010-07-28 11:55:54 +00:00
|
|
|
};
|
2008-10-16 11:01:10 +00:00
|
|
|
}
|