Skip to content

Instantly share code, notes, and snippets.

@tstelzer
Created January 11, 2022 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tstelzer/43a95d4a34c2f27c7497bd4156360a24 to your computer and use it in GitHub Desktop.
Save tstelzer/43a95d4a34c2f27c7497bd4156360a24 to your computer and use it in GitHub Desktop.
{stdenv, bash, jre, fetchzip, lib}:
let
version = "11.2.1";
pname = "iosevka-ss08";
in stdenv.mkDerivation rec {
inherit pname version;
src = fetchzip {
url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/ttf-${pname}-${version}.zip";
sha256 = "0m1imm5zmgkj26xpqhgqcs2aab07ib0as7p9cw876ndi6ysmhla5";
stripRoot = false;
};
installPhase = ''
mkdir -p $out/share/fonts/${pname}
mv *.ttf $out/share/fonts/${pname}
'';
meta = with 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;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment