From 4d6a8d956fca014ba461ba6114e630709d818af8 Mon Sep 17 00:00:00 2001 From: Vladyslav M Date: Sun, 18 Feb 2018 13:32:59 +0200 Subject: hack-font: 2.020 -> 3.002 --- pkgs/data/fonts/hack/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'pkgs/data/fonts/hack') diff --git a/pkgs/data/fonts/hack/default.nix b/pkgs/data/fonts/hack/default.nix index 0edd27dab0e..eb794326539 100644 --- a/pkgs/data/fonts/hack/default.nix +++ b/pkgs/data/fonts/hack/default.nix @@ -1,20 +1,18 @@ { stdenv, fetchzip }: let - version = "2.020"; + version = "3.002"; in fetchzip rec { name = "hack-font-${version}"; - url = let - version_ = with stdenv.lib; concatStringsSep "_" (splitString "." version); - in "https://github.com/chrissimpkins/Hack/releases/download/v${version}/Hack-v${version_}-ttf.zip"; + url = "https://github.com/chrissimpkins/Hack/releases/download/v${version}/Hack-v${version}-ttf.zip"; postFetch = '' mkdir -p $out/share/fonts unzip -j $downloadedFile \*.ttf -d $out/share/fonts/hack ''; - sha256 = "0cpsglb9vnhmpsn496aqisfvmq3yxvjnj7c361dspy0fn6z8x60c"; + sha256 = "11f3hl4nvxq6pvsmwr1c1r5wrxhrp7ixr5bshrz2dmqn7l8bxa63"; meta = with stdenv.lib; { description = "A typeface designed for source code"; @@ -25,7 +23,7 @@ in fetchzip rec { The face has been re-designed with a larger glyph set, modifications of the original glyph shapes, and meticulous attention to metrics. ''; - homepage = http://sourcefoundry.org/hack/; + homepage = https://sourcefoundry.org/hack/; /* "The font binaries are released under a license that permits unlimited @@ -36,6 +34,7 @@ in fetchzip rec { the license is available in LICENSE.md" (From the GitHub page) */ license = licenses.free; + maintainers = with maintainers; [ dywedir ]; platforms = platforms.all; }; } -- cgit 1.4.1