2015-01-26 11:05:37 +00:00
|
|
|
{ stdenv, fetchurl, freetype, libjpeg, libungif, zlib }:
|
2008-10-16 12:01:10 +01: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 12:01:10 +01:00
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
src = fetchurl {
|
2015-01-26 11:05:37 +00:00
|
|
|
url = "http://www.swftools.org/${name}.tar.gz";
|
|
|
|
sha256 = "1w81dyi81019a6jmnm5z7fzarswng27lg1d4k4d5llxzqszr2s5z";
|
2008-10-16 12:01:10 +01:00
|
|
|
};
|
|
|
|
|
2015-01-26 11:05:37 +00:00
|
|
|
patches = [ ./swftools.patch ];
|
2008-10-16 12:01:10 +01:00
|
|
|
|
2015-01-26 11:05:37 +00:00
|
|
|
buildInputs = [ freetype libjpeg libungif zlib ];
|
|
|
|
|
|
|
|
meta = {
|
2010-07-28 12:55:54 +01: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 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2010-07-28 12:55:54 +01:00
|
|
|
};
|
2008-10-16 12:01:10 +01:00
|
|
|
}
|