2021-02-12 21:15:48 +00:00
|
|
|
{ lib, stdenv, fetchurl, freetype, libjpeg, zlib }:
|
2008-10-16 12:01:10 +01:00
|
|
|
|
2015-01-26 11:05:37 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "swftools";
|
2015-01-26 11:05:37 +00:00
|
|
|
version = "0.9.2";
|
2008-10-16 12:01:10 +01:00
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://www.swftools.org/${pname}-${version}.tar.gz";
|
2015-01-26 11:05:37 +00:00
|
|
|
sha256 = "1w81dyi81019a6jmnm5z7fzarswng27lg1d4k4d5llxzqszr2s5z";
|
2008-10-16 12:01:10 +01:00
|
|
|
};
|
|
|
|
|
2015-01-26 11:05:37 +00:00
|
|
|
patches = [ ./swftools.patch ];
|
2008-10-16 12:01:10 +01:00
|
|
|
|
2021-02-12 21:15:48 +00:00
|
|
|
buildInputs = [ freetype libjpeg zlib ];
|
2015-01-26 11:05:37 +00:00
|
|
|
|
2021-02-12 20:51:31 +00:00
|
|
|
meta = with lib; {
|
2010-07-28 12:55:54 +01:00
|
|
|
description = "Collection of SWF manipulation and creation utilities";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.swftools.org/about.html";
|
2021-02-12 20:51:31 +00:00
|
|
|
license = licenses.gpl2Only;
|
2015-01-26 11:05:37 +00:00
|
|
|
maintainers = [ maintainers.koral ];
|
2021-01-15 09:19:50 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2021-02-12 20:51:31 +00:00
|
|
|
knownVulnerabilities = [
|
|
|
|
"CVE-2017-10976"
|
|
|
|
"CVE-2017-11096"
|
|
|
|
"CVE-2017-11097"
|
|
|
|
"CVE-2017-11098"
|
|
|
|
"CVE-2017-11099"
|
|
|
|
"CVE-2017-11100"
|
|
|
|
"CVE-2017-11101"
|
|
|
|
"CVE-2017-16711"
|
|
|
|
"CVE-2017-16793"
|
|
|
|
"CVE-2017-16794"
|
|
|
|
"CVE-2017-16796"
|
|
|
|
"CVE-2017-16797"
|
|
|
|
"CVE-2017-16868"
|
|
|
|
"CVE-2017-16890"
|
|
|
|
];
|
2010-07-28 12:55:54 +01:00
|
|
|
};
|
2008-10-16 12:01:10 +01:00
|
|
|
}
|