nixpkgs/pkgs/data/fonts/sketchybar-app-font/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
974 B
Nix
Raw Normal View History

2023-08-03 06:41:06 +02:00
{ lib
, stdenvNoCC
, fetchurl
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "sketchybar-app-font";
2023-11-07 22:23:30 +01:00
version = "1.0.20";
2023-08-03 06:41:06 +02:00
src = fetchurl {
url = "https://github.com/kvndrsslr/sketchybar-app-font/releases/download/v${finalAttrs.version}/sketchybar-app-font.ttf";
2023-11-07 22:23:30 +01:00
hash = "sha256-pf3SSxzlNIdbXXHfRauFCnrVUMOd5J9sSUE9MsfWrwo=";
2023-08-03 06:41:06 +02:00
};
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 ];
};
})