From 017a7a1df2e68160ea0c631608a086a94d254332 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Thu, 7 Feb 2019 09:32:42 -0600 Subject: [PATCH] agave: 008 -> 009 --- pkgs/data/fonts/agave/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/data/fonts/agave/default.nix b/pkgs/data/fonts/agave/default.nix index 6aabf4f485da..eb18f620a2ad 100644 --- a/pkgs/data/fonts/agave/default.nix +++ b/pkgs/data/fonts/agave/default.nix @@ -1,20 +1,21 @@ { stdenv, fetchurl }: stdenv.mkDerivation rec { - name = "agave-${version}"; - version = "008"; + pname = "agave"; + version = "009"; src = fetchurl { - url = "https://github.com/agarick/agave/releases/download/v${version}/${name}.tar.gz"; - sha256 = "0g50mqpffn4dq761vibaf8dwfkbcl5da1cc89qz6pq35ircipbns"; + url = "https://github.com/agarick/agave/releases/download/v${version}/agave-r.ttf"; + sha256 = "05766gp2glm1p2vknk1nncxigq28hg8s58kjwsbn8zpwy8ivywpk"; }; sourceRoot = "."; + unpackPhase = ":"; dontBuild = true; installPhase = '' mkdir -p $out/share/fonts/truetype - cp *.ttf $out/share/fonts/truetype + cp $src $out/share/fonts/truetype/ ''; meta = with stdenv.lib; {