2023-01-20 10:41:00 +00:00
|
|
|
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
2021-02-05 17:12:51 +00:00
|
|
|
{lib, fetchzip}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "3.5";
|
2023-01-20 10:41:00 +00:00
|
|
|
in (fetchzip {
|
2020-04-24 23:36:52 +00:00
|
|
|
name = "jost-${version}";
|
|
|
|
url = "https://github.com/indestructible-type/Jost/releases/download/${version}/Jost.zip";
|
|
|
|
|
|
|
|
sha256="0l78vhmbsyfmrva5wc76pskhxqryyg8q5xddpj9g5wqsddy525dq";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/indestructible-type/Jost";
|
|
|
|
description = "A sans serif font by Indestructible Type";
|
|
|
|
license = licenses.ofl;
|
|
|
|
maintainers = [ maintainers.ar1a ];
|
|
|
|
};
|
2023-01-20 10:41:00 +00:00
|
|
|
}).overrideAttrs (_: {
|
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts
|
|
|
|
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
|
|
|
'';
|
|
|
|
})
|