From 9a1d6fe7011fc940ffa8e7f196018e2fc977c7ed Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sat, 11 Jun 2016 01:41:44 +0300 Subject: [PATCH] fontforge: 20150824 -> 20160404 --- pkgs/data/fonts/libertine/default.nix | 2 +- pkgs/tools/misc/fontforge/default.nix | 19 +++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/pkgs/data/fonts/libertine/default.nix b/pkgs/data/fonts/libertine/default.nix index 3b89f3db36dd..c69cc7ae34de 100644 --- a/pkgs/data/fonts/libertine/default.nix +++ b/pkgs/data/fonts/libertine/default.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { buildPhase = '' for i in *.sfd; do - fontforge -c \ + fontforge -lang=ff -c \ 'Open($1); ScaleToEm(1000); Reencode("unicode"); diff --git a/pkgs/tools/misc/fontforge/default.nix b/pkgs/tools/misc/fontforge/default.nix index 9ee3eb23e0e9..0d6cfb19c349 100644 --- a/pkgs/tools/misc/fontforge/default.nix +++ b/pkgs/tools/misc/fontforge/default.nix @@ -1,20 +1,19 @@ -{ stdenv, fetchurl, fetchpatch, lib +{ stdenv, fetchFromGitHub, fetchpatch, lib , autoconf, automake, gnum4, libtool, git, perl, gnulib, uthash, pkgconfig, gettext , python, freetype, zlib, glib, libungif, libpng, libjpeg, libtiff, libxml2, pango , withGTK ? false, gtk2 -, withPython ? false # python-scripting was breaking inconsolata and libertine builds +, withPython ? true }: -let - version = "20150824"; # also tagged v2.1.0 -in - -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "fontforge-${version}"; + version = "20160404"; - src = fetchurl { - url = "https://github.com/fontforge/fontforge/archive/${version}.tar.gz"; - sha256 = "09zzg166lw5ldbzsa2j9x7hizn6y3ld1kf4abfkiy301rdqj9ar8"; + src = fetchFromGitHub { + owner = "fontforge"; + repo = "fontforge"; + rev = version; + sha256 = "15nacq84n9gvlzp3slpmfrrbh57kfb6lbdlc46i7aqgci4qv6fg0"; }; patches = [(fetchpatch {