intel-one-mono: init at 1.2.0 (#232467)

Co-authored-by: Janik <80165193+Janik-Haag@users.noreply.github.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Simone Ruffini 2023-05-25 17:14:03 +02:00 committed by GitHub
parent ec1c0a3c29
commit c016238dad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib, stdenvNoCC, fetchurl, unzip}:
stdenvNoCC.mkDerivation rec {
pname = "intel-one-mono";
version = "1.2.0";
srcs = [
(fetchurl {
url = "https://github.com/intel/intel-one-mono/releases/download/V${version}/otf.zip";
sha256 = "sha256-VnXIaW77dRXvXB1Vr01xRQDMECltwzF/RMqGgAWnu5M=";
})
(fetchurl {
url = "https://github.com/intel/intel-one-mono/releases/download/V${version}/ttf.zip";
sha256 = "sha256-kaz0DePeO8nvKVonYJhs5f2+ps/5Xo5psjg1hoxzaiU=";
})
];
sourceRoot = ".";
nativeBuildInputs = [
unzip
];
installPhase = ''
runHook preInstall
install -Dm644 -t $out/share/fonts/truetype/ ttf/*.ttf
install -Dm644 -t $out/share/fonts/opentype/ otf/*.otf
runHook postInstall
'';
meta = with lib; {
description = "Intel One Mono, an expressive monospaced font family thats built with clarity, legibility, and the needs of developers in mind";
homepage = "https://github.com/intel/intel-one-mono";
changelog = "https://github.com/intel/intel-one-mono/releases/tag/V${version}";
license = licenses.ofl;
maintainers = [ maintainers.simoneruffini];
platforms = platforms.all;
};
}

View File

@ -28317,6 +28317,8 @@ with pkgs;
fonts = [ "Inconsolata" ];
};
intel-one-mono = callPackage ../data/fonts/intel-one-mono {};
input-fonts = callPackage ../data/fonts/input-fonts { };
inriafonts = callPackage ../data/fonts/inriafonts { };