Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 39 lines 923 B view raw
1{ 2 stdenvNoCC, 3 lib, 4 fetchFromGitHub, 5}: 6 7stdenvNoCC.mkDerivation (finalAttrs: { 8 pname = "aporetic-bin"; 9 version = "1.2.0"; 10 11 src = fetchFromGitHub { 12 owner = "protesilaos"; 13 repo = "aporetic"; 14 tag = finalAttrs.version; 15 hash = "sha256-1BbuC/mWEcXJxzDppvsukhNtdOLz0QosD6QqI/93Khc="; 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})