1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/development/libraries/silgraphite/graphite2.nix
Graham Christensen c310cb9e46 graphite2: security update 1.2.4 -> 1.3.6 (close #13918)
CVE-2016-1977 CVE-2016-2790 CVE-2016-2791 CVE-2016-2792
CVE-2016-2793 CVE-2016-2794 CVE-2016-2795 CVE-2016-2796
CVE-2016-2797 CVE-2016-2798 CVE-2016-2799 CVE-2016-2800
CVE-2016-2801 CVE-2016-2802

vcunat fixed the tarball name and redirected to github.
2016-03-14 21:30:55 +01:00

23 lines
620 B
Nix

{ stdenv, fetchurl, pkgconfig, freetype, cmake }:
stdenv.mkDerivation rec {
version = "1.3.6";
name = "graphite2-${version}";
src = fetchurl {
url = "https://github.com/silnrsi/graphite/releases/download/"
+ "${version}/graphite-${version}.tgz";
sha256 = "0xdg6bc02bl8yz39l5i2skczfg17q4lif0qqan0dhvk0mibpcpj7";
};
buildInputs = [ pkgconfig freetype cmake ];
patches = stdenv.lib.optionals stdenv.isDarwin [ ./macosx.patch ];
meta = {
description = "An advanced font engine";
maintainers = [ stdenv.lib.maintainers.raskin ];
hydraPlatforms = stdenv.lib.platforms.unix;
};
}