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