Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, freetype, libjpeg, zlib }: 2 3stdenv.mkDerivation rec { 4 pname = "swftools"; 5 version = "0.9.2"; 6 7 src = fetchurl { 8 url = "http://www.swftools.org/${pname}-${version}.tar.gz"; 9 sha256 = "1w81dyi81019a6jmnm5z7fzarswng27lg1d4k4d5llxzqszr2s5z"; 10 }; 11 12 patches = [ ./swftools.patch ]; 13 14 buildInputs = [ freetype libjpeg zlib ]; 15 16 meta = with lib; { 17 description = "Collection of SWF manipulation and creation utilities"; 18 homepage = "http://www.swftools.org/about.html"; 19 license = licenses.gpl2Only; 20 maintainers = [ maintainers.koral ]; 21 platforms = lib.platforms.unix; 22 knownVulnerabilities = [ 23 "CVE-2017-10976" 24 "CVE-2017-11096" 25 "CVE-2017-11097" 26 "CVE-2017-11098" 27 "CVE-2017-11099" 28 "CVE-2017-11100" 29 "CVE-2017-11101" 30 "CVE-2017-16711" 31 "CVE-2017-16793" 32 "CVE-2017-16794" 33 "CVE-2017-16796" 34 "CVE-2017-16797" 35 "CVE-2017-16868" 36 "CVE-2017-16890" 37 ]; 38 }; 39}