mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
1bf690c1bb
iosevka: 1.11.4 -> 1.12.1
35 lines
921 B
Nix
35 lines
921 B
Nix
{ stdenv, fetchurl, unzip }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "iosevka-${version}";
|
|
version = "1.12.1";
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/iosevka-pack-${version}.zip";
|
|
sha256 = "1rwg06fbizf2cmjwysx4ciz96nh80k48drsyr3rshppycajnaahj";
|
|
};
|
|
|
|
sourceRoot = ".";
|
|
|
|
installPhase = ''
|
|
fontdir=$out/share/fonts/iosevka
|
|
|
|
mkdir -p $fontdir
|
|
cp -v iosevka-* $fontdir
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "http://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 ];
|
|
};
|
|
}
|