update and fix flake build
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user