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,22 +1,18 @@
{ pkgs, ...}:
{ pkgs, ... }:
pkgs.stdenv.mkDerivation {
version = "2.200";
pname = "manjari";
src = pkgs.fetchzip {
url = "https://smc.org.in/downloads/fonts/manjari/manjari.zip";
hash = "sha256-u3hUW6EFhr9FIUl28u7TUKEclxWcpK95OUmL+SCwkD0=";
hash = "sha256-Sq/7UOBO54c3id6FMZeOmnZTRceEkMAAN8W+C7v7Mtw=";
stripRoot = false;
};
installPhase = ''
runHook preInstall
install -Dm444 -t $out/share/fonts/opentype $src/*.otf
install -Dm444 -t $out/share/fonts/truetype $src/*.ttf
runHook postInstall
'';
install -Dm444 -t $out/share/fonts/opentype $src/*.otf
'';
meta = with pkgs.lib; {
homepage = "https://smc.org.in/fonts/manjari";