Merge pull request #246906 from khaneliman/sketchybar-app-font
sketchybar-app-font: init at 1.0.13
This commit is contained in:
commit
a3f9ce2a8e
34
pkgs/data/fonts/sketchybar-app-font/default.nix
Normal file
34
pkgs/data/fonts/sketchybar-app-font/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue