mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
30 lines
721 B
Nix
30 lines
721 B
Nix
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "inter";
|
|
version = "3.19";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip";
|
|
stripRoot = false;
|
|
hash = "sha256-6kUQUTFtxiJEU6sYC6HzMwm1H4wvaKIoxoY3F6GJJa8=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/fonts/opentype
|
|
cp */*.otf $out/share/fonts/opentype
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://rsms.me/inter/";
|
|
description = "A typeface specially designed for user interfaces";
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ demize dtzWill ];
|
|
};
|
|
}
|