Merge pull request #80765 from marsam/update-sudo-font
sudo-font: 0.41 -> 0.42
This commit is contained in:
commit
4335b3676a
|
@ -1,19 +1,21 @@
|
||||||
{ lib, fetchzip }:
|
{ lib, fetchzip }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.41";
|
version = "0.42";
|
||||||
in fetchzip {
|
in fetchzip {
|
||||||
name = "sudo-font-${version}";
|
name = "sudo-font-${version}";
|
||||||
url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip";
|
url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip";
|
||||||
sha256 = "055sz9jg3fg7ypk9nia4dl9haaaq3w8zx5c2cdi3iq9kj8k5gg53";
|
sha256 = "1rqpwihf2sakrhkaw041r3xc9fhafaqn22n79haqkmwv4vmnspch";
|
||||||
|
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
mkdir -p $out/share/fonts/truetype/
|
mkdir -p $out/share/fonts/
|
||||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/
|
||||||
|
unzip -j $downloadedFile \*.woff -d $out/share/fonts/woff/
|
||||||
|
unzip -j $downloadedFile \*.woff2 -d $out/share/fonts/woff2/
|
||||||
'';
|
'';
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Font for programmers and command line users";
|
description = "Font for programmers and command line users";
|
||||||
homepage = https://www.kutilek.de/sudo-font/;
|
homepage = "https://www.kutilek.de/sudo-font/";
|
||||||
license = licenses.ofl;
|
license = licenses.ofl;
|
||||||
maintainers = with maintainers; [ dtzWill ];
|
maintainers = with maintainers; [ dtzWill ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
|
Loading…
Reference in New Issue