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