This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/fonts/kreative/kreative-square.nix

24 lines
605 B
Nix
Raw Permalink Normal View History

2022-09-25 17:45:55 +00:00
{
stdenv,
callPackage,
lib,
}: let
source = builtins.fromJSON (builtins.readFile ./source.json);
in
stdenv.mkDerivation {
2022-09-25 17:21:17 +00:00
name = "kreative-square";
version = source.date;
src = callPackage ./source.nix {};
preferLocalBuild = true;
buildPhase = "true";
installPhase = ''
for variant in "" SM; do
2022-09-25 17:23:12 +00:00
install -m444 -Dt $out/share/truetype/KreativeSquare KreativeSquare/KreativeSquare$variant.ttf
2022-09-25 17:21:17 +00:00
done
'';
meta = {
description = "Fullwidth scalable monospace font with many Box Drawing characters";
license = lib.licenses.ofl;
};
2022-09-25 17:45:55 +00:00
}