Skip to content

Commit

Permalink
Merge pull request #333407 from luftmensch-luftmensch/intel-one-mono_…
Browse files Browse the repository at this point in the history
…1.4.0

intel-one-mono: 1.3.0 -> 1.4.0
  • Loading branch information
drupol authored Aug 11, 2024
2 parents 21796a3 + 6d359e7 commit e8aed17
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions pkgs/data/fonts/intel-one-mono/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
{ 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
Expand All @@ -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;
};
})

0 comments on commit e8aed17

Please sign in to comment.