mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
inter: 3.19 -> 4.0
This commit is contained in:
parent
3f21a22b5a
commit
c6a4304297
@ -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