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