2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config, libxslt, freetype, libpng, libxml2
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-05 21:33:18 +00:00
|
|
|
pname = "swfmill";
|
|
|
|
version = "0.3.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-05 21:33:18 +00:00
|
|
|
url = "http://swfmill.org/releases/swfmill-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "15mcpql448vvgsbxs7wd0vdk1ln6rdcpnif6i2zjm5l4xng55s7r";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Fixes build with GCC 6
|
|
|
|
NIX_CFLAGS_COMPILE = "-std=c++03";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libxslt freetype libpng libxml2 ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An xml2swf and swf2xml processor with import functionalities";
|
|
|
|
homepage = "http://swfmill.org";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|