a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
25 lines
642 B
Nix
25 lines
642 B
Nix
{ lib, stdenv, fetchurl
|
|
, pkgconfig, libxslt, freetype, libpng, libxml2
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "swfmill-0.3.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://swfmill.org/releases/${name}.tar.gz";
|
|
sha256 = "15mcpql448vvgsbxs7wd0vdk1ln6rdcpnif6i2zjm5l4xng55s7r";
|
|
};
|
|
|
|
# Fixes build with GCC 6
|
|
NIX_CFLAGS_COMPILE = "-std=c++03";
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ libxslt freetype libpng libxml2 ];
|
|
|
|
meta = {
|
|
description = "An xml2swf and swf2xml processor with import functionalities";
|
|
homepage = "http://swfmill.org";
|
|
license = lib.licenses.gpl2;
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|