commit-mono: 1.136 -> 1.138

This commit is contained in:
zzzsyyy 2023-09-17 20:58:13 +08:00
parent ece423d65f
commit 24849a18bc
No known key found for this signature in database
GPG Key ID: 3F2409FFE586FB7F

View File

@ -4,11 +4,11 @@
}: }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "commit-mono"; pname = "commit-mono";
version = "1.136"; version = "1.138";
src = fetchzip { src = fetchzip {
url = "https://github.com/eigilnikolajsen/commit-mono/releases/download/${version}/CommitMono-${version}.zip"; url = "https://github.com/eigilnikolajsen/commit-mono/releases/download/${version}/CommitMono-${version}.zip";
sha256 = "sha256-s+KWGWOsluhDLG6LmsVIDVobtHzh5J4JLHoHMQ2+zRg="; sha256 = "sha256-ae2eeHh57i6d0kDMZ68aXvLGFj+rXhwg1CC8cV3ndAQ=";
stripRoot = false; stripRoot = false;
}; };
@ -20,7 +20,8 @@ stdenvNoCC.mkDerivation rec {
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
install -Dm644 -t $out/share/fonts/opentype/ *.otf install -Dm644 -t $out/share/fonts/opentype/ CommitMono-${version}/*.otf
install -Dm644 -t $out/share/fonts/truetype/ CommitMono-${version}/ttfautohint/*.ttf
runHook postInstall runHook postInstall
''; '';