depot/third_party/nixpkgs/pkgs/tools/video/swfmill/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

26 lines
671 B
Nix

{ lib, stdenv, fetchurl
, pkg-config, libxslt, freetype, libpng, libxml2
}:
stdenv.mkDerivation rec {
pname = "swfmill";
version = "0.3.3";
src = fetchurl {
url = "http://swfmill.org/releases/swfmill-${version}.tar.gz";
sha256 = "15mcpql448vvgsbxs7wd0vdk1ln6rdcpnif6i2zjm5l4xng55s7r";
};
# Fixes build with GCC 6
NIX_CFLAGS_COMPILE = "-std=c++03";
nativeBuildInputs = [ pkg-config ];
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;
};
}