Loading pkgs/by-name/_0/_0xproto/package.nix +12 −4 Original line number Diff line number Diff line Loading @@ -2,10 +2,11 @@ lib, stdenvNoCC, fetchzip, nix-update-script, }: stdenvNoCC.mkDerivation rec { pname = "0xproto"; version = "2.100"; version = "2.500"; src = let Loading @@ -13,16 +14,23 @@ stdenvNoCC.mkDerivation rec { in fetchzip { url = "https://github.com/0xType/0xProto/releases/download/${version}/0xProto_${underscoreVersion}.zip"; hash = "sha256-hUQGCsktnun9924+k6ECQuQ1Ddl/qGmtuLWERh/vDpc="; hash = "sha256-AmD5lUV341222gu/cCLnKWO87mjPn7gFkeklrV3OlOs="; stripRoot = false; }; # Exclude files in ZxProto/. The fonts are identical, with only the filenames changed.: # https://github.com/0xType/0xProto/pull/112 installPhase = '' runHook preInstall install -Dm644 -t $out/share/fonts/opentype/ *.otf install -Dm644 -t $out/share/fonts/truetype/ *.ttf install -Dm644 -t $out/share/fonts/opentype/ *.otf ./No-Ligatures/*-NL.otf install -Dm644 -t $out/share/fonts/truetype/ *.ttf ./No-Ligatures/*-NL.ttf runHook postInstall ''; passthru = { updateScript = nix-update-script { }; }; meta = { description = "Free and Open-source font for programming"; homepage = "https://github.com/0xType/0xProto"; Loading Loading
pkgs/by-name/_0/_0xproto/package.nix +12 −4 Original line number Diff line number Diff line Loading @@ -2,10 +2,11 @@ lib, stdenvNoCC, fetchzip, nix-update-script, }: stdenvNoCC.mkDerivation rec { pname = "0xproto"; version = "2.100"; version = "2.500"; src = let Loading @@ -13,16 +14,23 @@ stdenvNoCC.mkDerivation rec { in fetchzip { url = "https://github.com/0xType/0xProto/releases/download/${version}/0xProto_${underscoreVersion}.zip"; hash = "sha256-hUQGCsktnun9924+k6ECQuQ1Ddl/qGmtuLWERh/vDpc="; hash = "sha256-AmD5lUV341222gu/cCLnKWO87mjPn7gFkeklrV3OlOs="; stripRoot = false; }; # Exclude files in ZxProto/. The fonts are identical, with only the filenames changed.: # https://github.com/0xType/0xProto/pull/112 installPhase = '' runHook preInstall install -Dm644 -t $out/share/fonts/opentype/ *.otf install -Dm644 -t $out/share/fonts/truetype/ *.ttf install -Dm644 -t $out/share/fonts/opentype/ *.otf ./No-Ligatures/*-NL.otf install -Dm644 -t $out/share/fonts/truetype/ *.ttf ./No-Ligatures/*-NL.ttf runHook postInstall ''; passthru = { updateScript = nix-update-script { }; }; meta = { description = "Free and Open-source font for programming"; homepage = "https://github.com/0xType/0xProto"; Loading