Merge pull request #246906 from khaneliman/sketchybar-app-font

sketchybar-app-font: init at 1.0.13
This commit is contained in:
Pol Dellaiera 2023-08-04 18:04:08 +02:00 committed by GitHub
commit a3f9ce2a8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, stdenvNoCC
, fetchurl
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "sketchybar-app-font";
version = "1.0.13";
src = fetchurl {
url = "https://github.com/kvndrsslr/sketchybar-app-font/releases/download/v${finalAttrs.version}/sketchybar-app-font.ttf";
hash = "sha256-vlvSrN6yxabKnzPmqI9VNkOdR3yLa1QUieZjOOW6w3c=";
};
dontUnpack = true;
installPhase = ''
runHook preInstall
install -Dm644 $src $out/share/fonts/truetype/sketchybar-app-font.ttf
runHook postInstall
'';
meta = {
description = "A ligature-based symbol font and a mapping function for sketchybar";
longDescription = ''
A ligature-based symbol font and a mapping function for sketchybar, inspired by simple-bar's usage of community-contributed minimalistic app icons.
'';
homepage = "https://github.com/kvndrsslr/sketchybar-app-font";
license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [ khaneliman ];
};
})

View file

@ -12912,6 +12912,8 @@ with pkgs;
inherit (darwin.apple_sdk_11_0.frameworks) Carbon Cocoa CoreWLAN DisplayServices MediaRemote SkyLight;
};
sketchybar-app-font = callPackage ../data/fonts/sketchybar-app-font { };
skippy-xd = callPackage ../tools/X11/skippy-xd { };
sks = callPackage ../servers/sks {