Files
nixpkgs/pkgs/by-name/os/oswald/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

41 lines
1.1 KiB
Nix

{
lib,
stdenvNoCC,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation {
pname = "oswald";
version = "4.103";
src = fetchFromGitHub {
owner = "googlefonts";
repo = "OswaldFont";
rev = "89795261ac9eeb9aa8cd99f43982c4e4b0e53261";
hash = "sha256-yoUduWHuuKDQaJnQ+CgeMw1vp2lgn/OVPokSDzEU7yk=";
};
installPhase = ''
runHook preInstall
install -Dm444 fonts/ttf/*.ttf -t $out/share/fonts/truetype
install -Dm444 fonts/variable/*.ttf -t $out/share/fonts/variable
runHook postInstall
'';
meta = {
description = "Reworking of the classic gothic typeface style";
longDescription = ''
Oswald is a reworking of the classic gothic typeface style
historically represented by designs such as 'Alternate Gothic'.
The characters of Oswald have been re-drawn and reformed to
better fit the pixel grid of standard digital screens.
'';
homepage = "https://github.com/googlefonts/OswaldFont";
license = lib.licenses.ofl;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ mimvoid ];
};
}