diff options
author | Jose Cardoso <65740649+asininemonkey@users.noreply.github.com> | 2024-02-25 16:24:50 +0000 |
---|---|---|
committer | Jose Cardoso <65740649+asininemonkey@users.noreply.github.com> | 2024-02-25 16:24:50 +0000 |
commit | cdd5ddbd085ccd4feb8b983f99d49a49e0664303 (patch) | |
tree | bdce6b4161ba48a567cc426f987079741c98a342 /pkgs/by-name/ar | |
parent | 10c04c8796226848899db0aac741cf91d8d85483 (diff) |
arcticons-sans: init at 0.580
Diffstat (limited to 'pkgs/by-name/ar')
-rw-r--r-- | pkgs/by-name/ar/arcticons-sans/package.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/by-name/ar/arcticons-sans/package.nix b/pkgs/by-name/ar/arcticons-sans/package.nix new file mode 100644 index 0000000000000..fb743aceee5cc --- /dev/null +++ b/pkgs/by-name/ar/arcticons-sans/package.nix @@ -0,0 +1,29 @@ +{ lib +, stdenvNoCC +, fetchzip +}: + +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "arcticons-sans"; + version = "0.580"; + + src = fetchzip { + hash = "sha256-BRyYHOuz7zxD1zD4L4DmI9dFhGePmGFDqYmS0DIbvi8="; + url = "https://github.com/arcticons-team/arcticons-font/archive/refs/tags/${finalAttrs.version}.zip"; + }; + + installPhase = '' + runHook preInstall + + install -D -m444 -t $out/share/fonts/opentype $src/*.otf + + runHook postInstall + ''; + + meta = { + description = "Arcticons Sans"; + homepage = "https://github.com/arcticons-team/arcticons-font"; + license = lib.licenses.ofl; + maintainers = with lib.maintainers; [ asininemonkey ]; + }; +}) |