update and fix flake build

This commit is contained in:
2024-10-12 17:53:10 +02:00
parent d8fb9adb1e
commit ea9d993324
6 changed files with 76 additions and 39 deletions

View File

@@ -1,21 +1,18 @@
{ pkgs, ...}:
{ pkgs, ... }:
pkgs.stdenv.mkDerivation {
version = "1.7";
pname = "chilanka";
src = pkgs.fetchzip {
url = "https://smc.org.in/downloads/fonts/chilanka/chilanka.zip";
hash = "sha256-u3hUW6EFhr9FIUl28u7TUKEclxWcpK95OUmL+SCwkD0=s";
hash = "sha256-z+pRvm/8alA3TbUBuR4oDD/kpvuXJTqOBlzXEKBZvnE=";
stripRoot = false;
};
installPhase = ''
runHook preInstall
install -Dm444 -t $out/share/fonts/truetype $src/*.ttf
runHook postInstall
'';
install -Dm444 -t $out/share/fonts/truetype $src/*.ttf
'';
meta = with pkgs.lib; {
homepage = "https://smc.org.in/fonts/chilanka";