This commit is contained in:
alsaiduq-lab 2026-01-15 13:13:37 -07:00
parent 15a97c9562
commit 008d5c15c0
3 changed files with 54 additions and 56 deletions

View file

@ -2,25 +2,24 @@
pkgs,
lib,
...
}: {
binary-clock-font = pkgs.stdenv.mkDerivation {
pname = "binary-clock-font";
version = "1.0.0";
src = pkgs.fetchurl {
url = "https://github.com/jamessouth/polybar-binary-clock-fonts/raw/master/BinaryClockBoldMono.ttf";
sha256 = "0vxy23zr8r8faa5s7vy5bf8z2q7my39ghmd9ilk7aww9wqsrsjqx";
};
dontUnpack = true;
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp $src $out/share/fonts/truetype/BinaryClockBoldMono.ttf
'';
meta = with lib; {
description = "A monospaced bold font for binary clocks";
homepage = "https://github.com/jamessouth/polybar-binary-clock-fonts";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [cobray];
};
}:
pkgs.stdenv.mkDerivation {
pname = "binary-clock-font";
version = "1.0.0";
src = pkgs.fetchurl {
url = "https://github.com/jamessouth/polybar-binary-clock-fonts/raw/master/BinaryClockBoldMono.ttf";
sha256 = "0vxy23zr8r8faa5s7vy5bf8z2q7my39ghmd9ilk7aww9wqsrsjqx";
};
dontUnpack = true;
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp $src $out/share/fonts/truetype/BinaryClockBoldMono.ttf
'';
meta = with lib; {
description = "A monospaced bold font for binary clocks";
homepage = "https://github.com/jamessouth/polybar-binary-clock-fonts";
license = licenses.ofl;
platforms = platforms.all;
maintainers = ["cobray"];
};
}