31 lines
853 B
Nix
31 lines
853 B
Nix
{
|
|
lib,
|
|
fetchzip,
|
|
stdenvNoCC,
|
|
}: let
|
|
pname = "Ligatured-Hack";
|
|
version = "v3.003+Nerdv2.1+FC3.1+JBMv2.242";
|
|
sha256 = "nCOH+48w7nEm7mXXPCsDuaRlId2hNyYdV01IbVNWuME=";
|
|
in
|
|
stdenvNoCC.mkDerivation {
|
|
inherit pname version;
|
|
|
|
src = fetchzip {
|
|
inherit sha256;
|
|
url = "https://github.com/gaplo917/Ligatured-Hack/releases/download/v3.003%2BNv2.1.0%2BFC%2BJBMv2.242/HackLigatured-v3.003+FC3.1+JBMv2.242.zip";
|
|
stripRoot = false;
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/fonts/truetype/${pname}
|
|
cp *.ttf $out/share/fonts/truetype/${pname}
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Automatically patch latest Hack Font with latest JetBrains Mono / FiraCode Ligatures";
|
|
homepage = "https://github.com/gaplo917/Ligatured-Hack";
|
|
license = licenses.gpl3;
|
|
maintainers = [];
|
|
};
|
|
}
|