stix-two: 2.0.0 -> 2.0.2
This commit is contained in:
parent
542af6df87
commit
daa1b6df95
@ -1,18 +1,22 @@
|
||||
{ stdenv, fetchzip }:
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
version = "2.0.0";
|
||||
in fetchzip {
|
||||
version = "2.0.2";
|
||||
in fetchFromGitHub {
|
||||
name = "stix-two-${version}";
|
||||
|
||||
url = "https://github.com/stipub/stixfonts/archive/${version}.zip";
|
||||
owner = "stipub";
|
||||
repo = "stixfonts";
|
||||
rev = "v${version}";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts
|
||||
unzip -j $downloadedFile '*/OTF/*.otf' -d $out/share/fonts/opentype
|
||||
tar xf $downloadedFile --strip=1
|
||||
install -m444 -Dt $out/share/fonts/opentype/ OTF/*.otf
|
||||
install -m444 -Dt $out/share/fonts/woff/ WOFF/*.woff
|
||||
install -m444 -Dt $out/share/fonts/woff2/ WOFF2/*.woff2
|
||||
'';
|
||||
|
||||
sha256 = "19i30d2xjk52bjj7xva1hnlyh58yd5phas1njcc8ldcz87a1lhql";
|
||||
sha256 = "1ah8s0cb67yv4ll8zfs01mdh9m5i2lbkrfbmkhi1xdid6pxsk32x";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.stixfonts.org/;
|
||||
|
Loading…
Reference in New Issue
Block a user