mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
iosevka: 27.3.5 -> 28.1.0
This commit is contained in:
parent
18d9aeed7d
commit
68dced8dc7
@ -4,21 +4,21 @@ let
|
||||
sets = [
|
||||
# Family | Shapes | Spacing | Style | Ligatures |
|
||||
# ------------------------+--------+---------+------------+-----------|
|
||||
"comfy" # Sans | Compact | Monospaced | Yes |
|
||||
"comfy-fixed" # Sans | Compact | Monospaced | No |
|
||||
"comfy-duo" # Sans | Compact | Duospaced | Yes |
|
||||
"comfy" # | Sans | Compact | Monospaced | Yes |
|
||||
"comfy-fixed" # | Sans | Compact | Monospaced | No |
|
||||
"comfy-duo" # | Sans | Compact | Duospaced | Yes |
|
||||
# ------------------------+--------+---------+------------+-----------|
|
||||
"comfy-motion" # Slab | Compact | Monospaced | Yes |
|
||||
"comfy-motion-fixed" # Slab | Compact | Monospaced | No |
|
||||
"comfy-motion-duo" # Slab | Compact | Duospaced | Yes |
|
||||
"comfy-motion" # | Slab | Compact | Monospaced | Yes |
|
||||
"comfy-motion-fixed" # | Slab | Compact | Monospaced | No |
|
||||
"comfy-motion-duo" # | Slab | Compact | Duospaced | Yes |
|
||||
# ------------------------+--------+---------+------------+-----------|
|
||||
"comfy-wide" # Sans | Wide | Monospaced | Yes |
|
||||
"comfy-wide-fixed" # Sans | Wide | Monospaced | No |
|
||||
"comfy-wide-duo" # Sans | Wide | Duospaced | Yes |
|
||||
"comfy-wide" # | Sans | Wide | Monospaced | Yes |
|
||||
"comfy-wide-fixed" # | Sans | Wide | Monospaced | No |
|
||||
"comfy-wide-duo" # | Sans | Wide | Duospaced | Yes |
|
||||
# ------------------------+--------+---------+------------+-----------|
|
||||
"comfy-wide-motion" # Slab | Wide | Monospaced | Yes |
|
||||
"comfy-wide-motion" # | Slab | Wide | Monospaced | Yes |
|
||||
"comfy-wide-motion-fixed" # Slab | Wide | Monospaced | No |
|
||||
"comfy-wide-motion-duo" # Slab | Wide | Duospaced | Yes |
|
||||
"comfy-wide-motion-duo" # | Slab | Wide | Duospaced | Yes |
|
||||
];
|
||||
version = "1.4.0";
|
||||
src = fetchFromGitHub {
|
||||
@ -34,6 +34,7 @@ let
|
||||
inherit set privateBuildPlan;
|
||||
buildNpmPackage = args: superBuildNpmPackage
|
||||
(args // {
|
||||
pname = "iosevka-${set}";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@ -45,6 +46,14 @@ let
|
||||
|
||||
npmDepsHash = "sha256-c+ltdh5e3+idclYfqp0Xh9IUwoj7XYP1uzJG6+a5gFU=";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
fontdir="$out/share/fonts/truetype"
|
||||
install -d "$fontdir"
|
||||
install "dist/$pname/ttf"/* "$fontdir"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = ''
|
||||
|
@ -54,17 +54,17 @@ assert (privateBuildPlan != null) -> set != null;
|
||||
assert (extraParameters != null) -> set != null;
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = if set != null then "iosevka-${set}" else "iosevka";
|
||||
version = "27.3.5";
|
||||
pname = "Iosevka${toString set}";
|
||||
version = "28.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "be5invis";
|
||||
repo = "iosevka";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-dqXr/MVOuEmAMueaRWsnzY9MabhnyBRtLR9IDVLN79I=";
|
||||
hash = "sha256-cYnGJ7Z0PDRZtC/vz8hX/+mqk7iVkajFTfNGgRW+edQ=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-bux8aFBP1Pi5pAQY1jkNTqD2Ny2j+QQs+QRaXWJj6xg=";
|
||||
npmDepsHash = "sha256-bzQ7dc7UiC++0DxnQHusu6Ym7rd7GgeA6bGSnnla1nk=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
remarshal
|
||||
@ -118,7 +118,7 @@ buildNpmPackage rec {
|
||||
runHook preInstall
|
||||
fontdir="$out/share/fonts/truetype"
|
||||
install -d "$fontdir"
|
||||
install "dist/$pname/ttf"/* "$fontdir"
|
||||
install "dist/$pname/TTF"/* "$fontdir"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user