sf-pro: init
Some checks failed
Check flake / build-amd64-linux (push) Failing after 23s

This commit is contained in:
Jordan Holt 2025-04-14 21:17:37 +01:00
parent f031102ab9
commit cd2f404b63
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520

29
pkgs/sf-pro/package.nix Normal file
View File

@ -0,0 +1,29 @@
{
stdenv,
fetchFromGitHub,
lib,
}:
stdenv.mkDerivation {
pname = "sf-pro";
version = "unstable-2021-06-22";
src = fetchFromGitHub {
owner = "sahibjotsaggu";
repo = "San-Francisco-Pro-Fonts";
rev = "8bfea09aa6f1139479f80358b2e1e5c6dc991a58";
sha256 = "sha256-mAXExj8n8gFHq19HfGy4UOJYKVGPYgarGd/04kUIqX4=";
};
installPhase = ''
mkdir -p $out/share/fonts/opentype
mkdir -p $out/share/fonts/truetype
install -m644 $src/*.otf $out/share/fonts/opentype/
install -m644 $src/*.ttf $out/share/fonts/truetype/
'';
meta = {
description = "San Francisco Pro fonts";
homepage = "https://github.com/sahibjotsaggu/San-Francisco-Pro-Fonts";
license = lib.licenses.unfree;
};
}