mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
iosevka-bin: init at 1.13.3
The former fetch-only expression is re-added as iosevka-bin to support platforms without otfcc where Iosevka cannot be built. See also: #31835
This commit is contained in:
parent
f557844c08
commit
bbdbbc6766
28
pkgs/data/fonts/iosevka/bin.nix
Normal file
28
pkgs/data/fonts/iosevka/bin.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchzip }:
|
||||
|
||||
let
|
||||
version = "1.13.3";
|
||||
in fetchzip rec {
|
||||
name = "iosevka-bin-${version}";
|
||||
|
||||
url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/iosevka-pack-${version}.zip";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile \*.ttc -d $out/share/fonts/iosevka
|
||||
'';
|
||||
|
||||
sha256 = "0103rjxcp2sis42xp7fh7g8i03h5snvs8n78lgsf79g8ssw0p9d4";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://be5invis.github.io/Iosevka/;
|
||||
downloadPage = "https://github.com/be5invis/Iosevka/releases";
|
||||
description = ''
|
||||
Slender monospace sans-serif and slab-serif typeface inspired by Pragmata
|
||||
Pro, M+ and PF DIN Mono, designed to be the ideal font for programming.
|
||||
'';
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.cstrahan ];
|
||||
};
|
||||
}
|
@ -13450,6 +13450,7 @@ with pkgs;
|
||||
iosevka = callPackage ../data/fonts/iosevka {
|
||||
nodejs = nodejs-8_x;
|
||||
};
|
||||
iosevka-bin = callPackage ../data/fonts/iosevka/bin.nix {};
|
||||
|
||||
ipafont = callPackage ../data/fonts/ipafont {};
|
||||
ipaexfont = callPackage ../data/fonts/ipaexfont {};
|
||||
|
Loading…
Reference in New Issue
Block a user