2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "jost";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "3.5";
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/indestructible-type/Jost/releases/download/${version}/Jost.zip";
|
|
|
|
hash = "sha256-ne81bMhmTzNZ/GGIzb7nCYh19vNLK+hJ3cP/zDxtiGM=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
install -Dm644 fonts/otf/*.otf -t $out/share/fonts/opentype
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
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-02-02 18:25:31 +00:00
|
|
|
}
|