depot/third_party/nixpkgs/pkgs/tools/video/swfmill/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
651 B
Nix

{ 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 = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}