2023-01-28 05:13:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2019-06-10 06:02:28 +00:00
|
|
|
|
2023-01-28 05:13:31 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "jost";
|
2020-02-06 10:40:41 +00:00
|
|
|
version = "3.5";
|
2019-06-10 06:02:28 +00:00
|
|
|
|
2023-01-28 05:13: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
|
|
|
|
'';
|
2019-06-10 06:02:28 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/indestructible-type/Jost";
|
2019-06-10 06:02:28 +00:00
|
|
|
description = "A sans serif font by Indestructible Type";
|
|
|
|
license = licenses.ofl;
|
|
|
|
maintainers = [ maintainers.ar1a ];
|
|
|
|
};
|
2023-01-28 05:13:31 +00:00
|
|
|
}
|