Merge pull request #11775 from ericsagnes/update/iosevka
iosevka: 1.0-beta9 -> 1.4.2
This commit is contained in:
commit
ceb186b281
@ -1,24 +1,26 @@
|
|||||||
{ stdenv, lib, fetchurl }:
|
{ stdenv, lib, fetchFromGitHub }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "iosevka-${version}";
|
name = "iosevka-${version}";
|
||||||
version = "1.0-beta9";
|
version = "1.4.2";
|
||||||
src = fetchurl {
|
|
||||||
url = "https://github.com/be5invis/Iosevka/releases/download/${version}/${name}.tar.bz2";
|
src = fetchFromGitHub {
|
||||||
sha256 = "1vw34zh8nh6s2dpyw3a1q44wkgrsin1a8b0vnk7hms8s8fw65734";
|
owner = "be5invis";
|
||||||
|
repo = "Iosevka";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1h1lmvjpjk0238bhdhnv2c149s98qpbndc8rxzlk6bhmxcy6rwsk";
|
||||||
};
|
};
|
||||||
unpackPhase = ''
|
|
||||||
tar xf "$src"
|
|
||||||
'';
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
fontdir=$out/share/fonts/iosevka
|
fontdir=$out/share/fonts/iosevka
|
||||||
|
|
||||||
mkdir -p $fontdir
|
mkdir -p $fontdir
|
||||||
cp -v iosevka-* $fontdir
|
cp -v iosevka-* $fontdir
|
||||||
'';
|
'';
|
||||||
buildInputs = [ ];
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://be5invis.github.io/Iosevka/";
|
homepage = "http://be5invis.github.io/Iosevka/";
|
||||||
|
downloadPage = "https://github.com/be5invis/Iosevka/releases";
|
||||||
description = ''
|
description = ''
|
||||||
Slender monospace sans-serif and slab-serif typeface inspired by Pragmata
|
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.
|
Pro, M+ and PF DIN Mono, designed to be the ideal font for programming.
|
||||||
|
Loading…
Reference in New Issue
Block a user