Browse Source

iosevka: 1.4.2 -> 1.11.4

1.11.4 contains numerous improvements including ligatures and fixes to
font weights.

I switched "default.nix" from using `fetchFromGitHub` to simply pulling
down the release as a zip via `fetchurl`. This seems like the best
approach given that the repositoriy no longer contains font files and
the alternative would be to build them from scratch.
nixos-19.03
Winnie Quinn 5 years ago
parent
commit
7dccfd49aa
  1. 16
      pkgs/data/fonts/iosevka/default.nix

16
pkgs/data/fonts/iosevka/default.nix

@ -1,16 +1,18 @@
{ stdenv, fetchFromGitHub }:
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
name = "iosevka-${version}";
version = "1.4.2";
version = "1.11.4";
src = fetchFromGitHub {
owner = "be5invis";
repo = "Iosevka";
rev = "v${version}";
sha256 = "1h1lmvjpjk0238bhdhnv2c149s98qpbndc8rxzlk6bhmxcy6rwsk";
buildInputs = [ unzip ];
src = fetchurl {
url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/01-iosevka-${version}.zip";
sha256 = "0mn9pqkambsal5cvz8hzlwx7qvcdfch8g1iy7mqhgghzflfhsy8x";
};
sourceRoot = ".";
installPhase = ''
fontdir=$out/share/fonts/iosevka

Loading…
Cancel
Save