mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 09:03:48 +00:00
29 lines
835 B
Nix
29 lines
835 B
Nix
{ stdenv, fetchzip }:
|
|
|
|
let
|
|
version = "3.3.1";
|
|
in fetchzip {
|
|
name = "iosevka-bin-${version}";
|
|
|
|
url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/ttc-iosevka-${version}.zip";
|
|
|
|
postFetch = ''
|
|
mkdir -p $out/share/fonts
|
|
unzip -j $downloadedFile \*.ttc -d $out/share/fonts/iosevka
|
|
'';
|
|
|
|
sha256 = "1hfccivk5f7i489s78yh2x96ic6rf5ncbsjqnrxqmfs9n1gjhfbj";
|
|
|
|
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 ];
|
|
};
|
|
}
|