inziu-iosevka: init at 1.13.2
This commit is contained in:
parent
2e855dc6b0
commit
42ecb0dd94
31
pkgs/data/fonts/inziu-iosevka/default.nix
Normal file
31
pkgs/data/fonts/inziu-iosevka/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchurl, p7zip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.13.2";
|
||||
name = "inziu-iosevka-${version}";
|
||||
|
||||
package = fetchurl {
|
||||
url = "http://7xpdnl.dl1.z0.glb.clouddn.com/inziu-iosevka-ttfs-${version}.7z";
|
||||
sha256 = "1i7qqcv1x6s1xkp687wq79zqg9ly6a7l5mnmg1iqgfgcbglgjbaw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ p7zip ];
|
||||
|
||||
unpackPhase = ''
|
||||
7z x $package
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp *.ttf $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Inziu Iosevka font";
|
||||
homepage = https://be5invis.github.io/Iosevka/inziu;
|
||||
# license is clarified here: https://github.com/be5invis/Iosevka/issues/265
|
||||
license = licenses.ofl;
|
||||
maintainers = [ maintainers.ChengCat ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -14365,6 +14365,8 @@ with pkgs;
|
||||
|
||||
input-fonts = callPackage ../data/fonts/input-fonts { };
|
||||
|
||||
inziu-iosevka = callPackage ../data/fonts/inziu-iosevka { };
|
||||
|
||||
iosevka = callPackage ../data/fonts/iosevka {
|
||||
nodejs = nodejs-8_x;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user