2019-05-13 03:55:32 +02:00
|
|
|
{ lib, fetchFromGitHub }:
|
2019-04-13 16:10:36 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
let
|
2019-04-13 16:10:36 +02:00
|
|
|
pname = "lalezar-fonts";
|
|
|
|
version = "unstable-2017-02-28";
|
2019-05-13 03:55:32 +02:00
|
|
|
in fetchFromGitHub {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
owner = "BornaIz";
|
|
|
|
repo = "Lalezar";
|
|
|
|
rev = "238701c4241f207e92515f845a199be9131c1109";
|
2019-04-13 16:10:36 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
postFetch = ''
|
|
|
|
tar xf $downloadedFile --strip=1
|
2019-04-13 16:10:36 +02:00
|
|
|
mkdir -p $out/share/fonts/lalezar-fonts
|
|
|
|
cp -v $( find . -name '*.ttf') $out/share/fonts/lalezar-fonts
|
|
|
|
'';
|
2019-05-13 03:55:32 +02:00
|
|
|
sha256 = "0jmwhr2dqgj3vn0v26jh6c0id6n3wd6as3bq39xa870zlk7v307b";
|
2019-04-13 16:10:36 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/BornaIz/Lalezar";
|
2019-04-13 16:10:36 +02:00
|
|
|
description = "A multi-script display typeface for popular culture";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.linarcx ];
|
|
|
|
};
|
|
|
|
}
|