mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
commit
f6a4e680a9
@ -2,19 +2,19 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "inter";
|
||||
version = "3.19";
|
||||
version = "4.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-6kUQUTFtxiJEU6sYC6HzMwm1H4wvaKIoxoY3F6GJJa8=";
|
||||
hash = "sha256-hFK7xFJt69n+98+juWgMvt+zeB9nDkc8nsR8vohrFIc=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
cp */*.otf $out/share/fonts/opentype
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp Inter.ttc InterVariable*.ttf $out/share/fonts/truetype
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user