nixpkgs/pkgs/data/fonts/iosevka/default.nix

29 lines
835 B
Nix
Raw Normal View History

{ stdenv, fetchzip }:
let
2017-08-27 18:19:47 +00:00
version = "1.13.3";
in fetchzip rec {
name = "iosevka-${version}";
2015-12-17 09:26:57 +00:00
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
'';
2015-12-17 09:26:57 +00:00
2017-08-27 18:19:47 +00:00
sha256 = "0103rjxcp2sis42xp7fh7g8i03h5snvs8n78lgsf79g8ssw0p9d4";
2016-07-04 07:16:40 +00:00
meta = with stdenv.lib; {
homepage = https://be5invis.github.io/Iosevka/;
2015-12-17 09:26:57 +00:00
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 ];
};
}