2021-01-25 08:26:54 +00:00
|
|
|
{lib, fetchzip}:
|
2019-06-10 07:02:28 +01:00
|
|
|
|
|
|
|
let
|
2020-02-06 10:40:41 +00:00
|
|
|
version = "3.5";
|
2019-06-10 07:02:28 +01:00
|
|
|
in fetchzip {
|
|
|
|
name = "jost-${version}";
|
|
|
|
url = "https://github.com/indestructible-type/Jost/releases/download/${version}/Jost.zip";
|
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts
|
|
|
|
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
|
|
|
'';
|
|
|
|
|
2020-02-06 10:40:41 +00:00
|
|
|
sha256="0l78vhmbsyfmrva5wc76pskhxqryyg8q5xddpj9g5wqsddy525dq";
|
2019-06-10 07:02:28 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/indestructible-type/Jost";
|
2019-06-10 07:02:28 +01:00
|
|
|
description = "A sans serif font by Indestructible Type";
|
|
|
|
license = licenses.ofl;
|
|
|
|
maintainers = [ maintainers.ar1a ];
|
|
|
|
};
|
|
|
|
}
|