forked from mirrors/nixpkgs
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.
This commit is contained in:
parent
cd6b1b253e
commit
7dccfd49aa
|
@ -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…
Reference in a new issue