forgot a KreativeSquare

This commit is contained in:
Charlotte 🦝 Delenk 2022-09-25 18:23:12 +01:00
parent e70a928d67
commit b88153f320
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -1,11 +1,6 @@
{
stdenv,
callPackage,
lib,
}: let
source = builtins.fromJSON (builtins.readFile ./source.json);
in
stdenv.mkDerivation {
{ stdenv, callPackage, lib }:
let source = builtins.fromJSON (builtins.readFile ./source.json);
in stdenv.mkDerivation {
name = "kreative-square";
version = source.date;
src = callPackage ./source.nix {};
@ -13,11 +8,11 @@ in
buildPhase = "true";
installPhase = ''
for variant in "" SM; do
install -m444 -Dt $out/share/truetype/KreativeSquare KreativeSquare/$variant.ttf
install -m444 -Dt $out/share/truetype/KreativeSquare KreativeSquare/KreativeSquare$variant.ttf
done
'';
meta = {
description = "Fullwidth scalable monospace font with many Box Drawing characters";
license = lib.licenses.ofl;
};
}
}