nixpkgs/pkgs/data/fonts/jost/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
646 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchzip }:
2019-06-10 09:02:28 +03:00
stdenvNoCC.mkDerivation rec {
pname = "jost";
version = "3.5";
2019-06-10 09:02:28 +03: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 09:02:28 +03:00
meta = with lib; {
homepage = "https://github.com/indestructible-type/Jost";
2019-06-10 09:02:28 +03:00
description = "A sans serif font by Indestructible Type";
license = licenses.ofl;
maintainers = [ maintainers.ar1a ];
};
}