16 "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/${name}"
17 + "?h=packages/t1lib&id=643a4c2c58e70072b5bc1e9e4624162517b58357";
20 patches = map getPatch [
22 name = "lib-cleanup.diff";
23 sha256 = "1w3q1y4zk0y4mf2s2x9z4cd8d4af8i868c8837p40mz3dqrai4zp";
26 name = "format-security.diff";
27 sha256 = "0cca94bif9dsc6iwpcnk1504gb3sl3nsqhni85c21q9aywyz26l3";
30 name = "CVE-2011-0764.diff";
31 sha256 = "1j0y3f38im7srpqjg9jvx8as6sxkz8gw7hglcxnxl9qylx8mr2jh";
34 name = "CVE-2011-1552_1553_1554.patch";
35 sha256 = "16cyq6jhyhh8912j8hapx9pq4rzxk36ljlkxlnyi7i3wr8iz1dir";
38 name = "CVE-2010-2642.patch";
39 sha256 = "175zvyr9v1xs22k2svgxqjcpz5nihfa7j46hn9nzvkqcrhm5m9y8";
41 # this ^ also fixes CVE-2011-5244
44 stdenv.mkDerivation rec {
49 url = "mirror://ibiblioPubLinux/libs/graphics/${pname}-${version}.tar.gz";
50 hash = "sha256-ghMotQVPeJCg0M0vUoJScHBd82QdvUdtWNF+Vu2Ve1k=";
58 buildFlags = [ "without_doc" ];
60 postInstall = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
62 chmod +x $out/lib/*.so.*
66 homepage = "http://www.t1lib.org/";
67 description = "Type 1 font rasterizer library for UNIX/X11";
68 license = with licenses; [
72 platforms = platforms.unix;