about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/video/swftools/default.nix
blob: 6867869a0a9dd51361517dfc1cf71d1134e6a98c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ lib, stdenv, fetchurl, freetype, libjpeg, zlib }:

stdenv.mkDerivation rec {
  pname = "swftools";
  version = "0.9.2";

  src = fetchurl {
    url = "http://www.swftools.org/${pname}-${version}.tar.gz";
    sha256 = "1w81dyi81019a6jmnm5z7fzarswng27lg1d4k4d5llxzqszr2s5z";
  };

  patches = [ ./swftools.patch ];

  buildInputs = [ freetype libjpeg zlib ];

  meta = with lib; {
    description = "Collection of SWF manipulation and creation utilities";
    homepage = "http://www.swftools.org/about.html";
    license = licenses.gpl2Only;
    maintainers = [ maintainers.koral ];
    platforms = lib.platforms.unix;
    broken = true;
    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"
    ];
  };
}