aporetic-bin: init at 1.1.0 (#397867)

authored by Pol Dellaiera and committed by GitHub 3f45f40e aadbacdf

+53 -13
+39
pkgs/by-name/ap/aporetic-bin/package.nix
··· 1 + { 2 + stdenvNoCC, 3 + lib, 4 + fetchFromGitHub, 5 + }: 6 + 7 + stdenvNoCC.mkDerivation (finalAttrs: { 8 + pname = "aporetic-bin"; 9 + version = "1.1.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "protesilaos"; 13 + repo = "aporetic"; 14 + tag = finalAttrs.version; 15 + hash = "sha256-5lPViAo9SztOdds6HEmKJpT17tgcxmU/voXDffxTMDI="; 16 + }; 17 + 18 + installPhase = '' 19 + runHook preInstall 20 + 21 + mkdir -p $out/share/fonts/truetype 22 + cp -r $src/{aporetic-sans-mono,aporetic-sans,aporetic-serif-mono,aporetic-serif} $out/share/fonts/truetype 23 + 24 + runHook postInstall 25 + ''; 26 + 27 + meta = { 28 + homepage = "https://github.com/protesilaos/aporetic"; 29 + description = '' 30 + Custom build of Iosevka with different style and metrics than the default. This is the successor to my "Iosevka Comfy" fonts. 31 + ''; 32 + license = lib.licenses.ofl; 33 + platforms = lib.platforms.all; 34 + maintainers = with lib.maintainers; [ 35 + DamienCassou 36 + drupol 37 + ]; 38 + }; 39 + })
+14 -13
pkgs/by-name/ap/aporetic/package.nix
··· 17 17 version = "1.1.0"; 18 18 src = fetchFromGitHub { 19 19 owner = "protesilaos"; 20 - repo = pname; 21 - rev = version; 22 - sha256 = "sha256-5lPViAo9SztOdds6HEmKJpT17tgcxmU/voXDffxTMDI="; 20 + repo = "aporetic"; 21 + tag = version; 22 + hash = "sha256-5lPViAo9SztOdds6HEmKJpT17tgcxmU/voXDffxTMDI="; 23 23 }; 24 24 privateBuildPlan = src.outPath + "/private-build-plans.toml"; 25 25 makeIosevkaFont = ··· 45 45 }; 46 46 47 47 npmDepsHash = "sha256-HeqwpZyHLHdMhd/UfXVBonMu+PhStrLCxAMuP/KuTT8="; 48 - 49 - meta = with lib; { 50 - inherit (src.meta) homepage; 51 - description = '' 52 - Customised build of the Iosevka typeface, with a consistent rounded style and overrides for almost all individual glyphs in both roman (upright) and italic (slanted) variants. 53 - ''; 54 - license = licenses.ofl; 55 - platforms = iosevka.meta.platforms; 56 - maintainers = [ maintainers.DamienCassou ]; 57 - }; 58 48 } 59 49 ); 60 50 }); 61 51 in 62 52 symlinkJoin { 63 53 inherit pname version; 54 + 64 55 paths = (builtins.map makeIosevkaFont sets); 56 + 57 + meta = { 58 + inherit (src.meta) homepage; 59 + description = '' 60 + Custom build of Iosevka with different style and metrics than the default, successor to my "Iosevka Comfy" fonts 61 + ''; 62 + license = lib.licenses.ofl; 63 + platforms = iosevka.meta.platforms; 64 + maintainers = [ lib.maintainers.DamienCassou ]; 65 + }; 65 66 }