Unverified Commit e8aed179 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #333407 from luftmensch-luftmensch/intel-one-mono_1.4.0

intel-one-mono: 1.3.0 -> 1.4.0
parents 21796a35 6d359e71
Loading
Loading
Loading
Loading
+17 −11
Original line number Diff line number Diff line
{ lib, stdenvNoCC, fetchurl, unzip }:
{
  lib,
  stdenvNoCC,
  fetchurl,
  unzip,
}:

stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "intel-one-mono";
  version = "1.3.0";
  version = "1.4.0";

  srcs = [
    (fetchurl {
      url = "https://github.com/intel/intel-one-mono/releases/download/V${finalAttrs.version}/otf.zip";
      hash = "sha256-iZIfkXH+GplVwES4LaQBIaCWs7OKmEto9J2SpzvagSs=";
      hash = "sha256-dO+O5mdAPHYHRbwS/F4ssWhFRBlPrT1TQJGcFzqCJ/w=";
    })
    (fetchurl {
      url = "https://github.com/intel/intel-one-mono/releases/download/V${finalAttrs.version}/ttf.zip";
      hash = "sha256-EeUTEMuoTHKmuO5Uj0jjiDRF9t7jxbIy45nTWozlgfc=";
      hash = "sha256-VIY1UtJdy5w/U2CylvyYDW4fv9AuDSFCJOi3jworzPA=";
    })
  ];

  sourceRoot = ".";

  nativeBuildInputs = [
    unzip
  ];
  nativeBuildInputs = [ unzip ];

  installPhase = ''
    runHook preInstall
@@ -28,12 +31,15 @@ stdenvNoCC.mkDerivation (finalAttrs: {
    runHook postInstall
  '';

  meta = with lib; {
  meta = {
    description = "Intel One Mono, an expressive monospaced font family that’s 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${finalAttrs.version}";
    license = licenses.ofl;
    maintainers = [ maintainers.simoneruffini ];
    platforms = platforms.all;
    license = lib.licenses.ofl;
    maintainers = with lib.maintainers; [
      luftmensch-luftmensch
      simoneruffini
    ];
    platforms = lib.platforms.all;
  };
})