From c8b3f48865ecee7cbeb02bae82acdacf8b24521a Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 3 Nov 2014 23:58:01 +0000 Subject: [PATCH 1/2] freefont_ttf: update from 20100919 to 20120503 --- pkgs/data/fonts/freefont-ttf/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/data/fonts/freefont-ttf/default.nix b/pkgs/data/fonts/freefont-ttf/default.nix index e1d9e1614f38..51505320ba40 100644 --- a/pkgs/data/fonts/freefont-ttf/default.nix +++ b/pkgs/data/fonts/freefont-ttf/default.nix @@ -1,13 +1,15 @@ -{stdenv, fetchurl}: +{stdenv, fetchurl, unzip}: stdenv.mkDerivation rec { - name = "freefont-ttf-20100919"; + name = "freefont-ttf-20120503"; src = fetchurl { - url = "mirror://gnu/freefont/${name}.tar.gz"; - sha256 = "1q3h5jp1mbdkinkwxy0lfd0a1q7azlbagraydlzaa2ng82836wg4"; + url = "mirror://gnu/freefont/${name}.zip"; + sha256 = "1bw9mrf5pqi2a29b7qw4nhhj566aqqmi28hkbn2a38c2pzqvm1bw"; }; + buildInputs = [ unzip ]; + installPhase = '' mkdir -p $out/share/fonts/truetype cp *.ttf $out/share/fonts/truetype From c7457dd1b03bb9873a7c2150646633ae95a3766c Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 3 Nov 2014 23:59:30 +0000 Subject: [PATCH 2/2] junicode: update from 0.6.15 to 0.7.8 --- pkgs/data/fonts/junicode/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/data/fonts/junicode/default.nix b/pkgs/data/fonts/junicode/default.nix index ea579a589c47..45025701a1d4 100644 --- a/pkgs/data/fonts/junicode/default.nix +++ b/pkgs/data/fonts/junicode/default.nix @@ -1,24 +1,23 @@ { stdenv, fetchurl, unzip }: stdenv.mkDerivation { - name = "junicode-0.6.15"; + name = "junicode-0.7.8"; src = fetchurl { - url = mirror://sourceforge/junicode/junicode-0.6.15.zip; - sha256 = "0p16r5s6qwyz0hayb6k61s5r2sfachlx7r6gpqqx5myx6ipbfdns"; + url = mirror://sourceforge/junicode/junicode/junicode-0-7-8/junicode-0-7-8.zip; + sha256 = "1lgkhj52s351ya7lp9z3xba7kaivgdvg80njhpj1rpc3jcmc69vl"; }; buildInputs = [ unzip ]; - sourceRoot = "."; - installPhase = '' mkdir -p $out/share/fonts/junicode-ttf - cp *.ttf $out/share/fonts/junicode-ttf + cp fonts/*.ttf $out/share/fonts/junicode-ttf ''; meta = { + homepage = http://junicode.sourceforge.net/; description = "A Unicode font"; }; }