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 = "7.1";
pname = "anjali-old-lipi";
src = pkgs.fetchzip {
url = "https://smc.org.in/downloads/fonts/anjalioldlipi/anjalioldlipi.zip";
hash = "sha256-yqlTyoDQPKmH/ssTSrQPZEqFiuN+pvZyGLggiQWoa/M=s";
hash = "sha256-c3ScpdN2h39Q6GLFL97pBBGrsillcMXmhlGilOAdF1w=";
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/manjari";