WIP add chilanka
This commit is contained in:
parent
72fc5e2ce0
commit
d8aaa5a1d1
27
chilanka/default.nix
Normal file
27
chilanka/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ 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";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm444 -t $out/share/fonts/truetype $src/*.ttf
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
homepage = "https://smc.org.in/fonts/chilanka";
|
||||
description = "Chilanka Malayalam Typeface";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ aashiks ];
|
||||
};
|
||||
}
|
8
default.nix
Normal file
8
default.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ pkgs,... }:
|
||||
|
||||
|
||||
{
|
||||
manjari = pkgs.callPackage ./manjari {};
|
||||
anjali-old-lipi = pkgs.callPackage ./anjali-old-lipi {};
|
||||
chilanka = pkgs.callPackage ./chilanka {};
|
||||
}
|
10
flake.nix
10
flake.nix
@ -11,14 +11,8 @@
|
||||
packages.x86_64-linux = let
|
||||
pkgs = import nixpkgs { system = "x86_64-linux";};
|
||||
in {
|
||||
manjari = import ./manjari.nix {
|
||||
inherit pkgs;
|
||||
};
|
||||
anjaliOldLipi = import ./anjali-old-lipi.nix {
|
||||
inherit pkgs;
|
||||
};
|
||||
|
||||
default = self.packages.x86_64-linux.manjari;
|
||||
smcFonts = import ./default.nix { inherit pkgs; };
|
||||
default = self.packages.x86_64-linux.smcFonts.chilanka;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user