mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 02:08:04 +00:00
oswald: init at 4.103
This commit is contained in:
parent
674c138ef0
commit
3c54f60015
36
pkgs/by-name/os/oswald/package.nix
Normal file
36
pkgs/by-name/os/oswald/package.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user