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