2013-02-05 03:36:18 +00:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, pkgconfig, libxslt, freetype, libpng, libxml2
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-20 16:05:44 +00:00
|
|
|
name = "swfmill-0.3.3";
|
2013-02-05 03:36:18 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://swfmill.org/releases/${name}.tar.gz";
|
2013-12-20 16:05:44 +00:00
|
|
|
sha256 = "15mcpql448vvgsbxs7wd0vdk1ln6rdcpnif6i2zjm5l4xng55s7r";
|
2013-02-05 03:36:18 +00:00
|
|
|
};
|
|
|
|
|
2017-09-14 16:20:27 +01:00
|
|
|
# Fixes build with GCC 6
|
|
|
|
NIX_CFLAGS_COMPILE = "-std=c++03";
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libxslt freetype libpng libxml2 ];
|
2013-02-05 03:36:18 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An xml2swf and swf2xml processor with import functionalities";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://swfmill.org;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-02-05 03:36:18 +00:00
|
|
|
};
|
|
|
|
}
|