a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
29 lines
814 B
Nix
29 lines
814 B
Nix
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "oldstandard";
|
|
version = "2.2";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/akryukov/oldstand/releases/download/v${version}/${pname}-${version}.otf.zip";
|
|
stripRoot = false;
|
|
hash = "sha256-cDB5KJm87DK+GczZ3Nmn4l5ejqViswVbwrJ9XbhEh8I=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -m444 -Dt $out/share/fonts/opentype *.otf
|
|
install -m444 -Dt $out/share/doc/${pname}-${version} FONTLOG.txt
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/akryukov/oldstand";
|
|
description = "An attempt to revive a specific type of Modern style of serif typefaces";
|
|
maintainers = with maintainers; [ raskin ];
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|