diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2022-11-11 21:53:17 +0100 |
---|---|---|
committer | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2022-11-11 22:24:34 +0100 |
commit | eab9b5f7a1d04ee6cc113ae845caa4e3650aecdc (patch) | |
tree | 9a78405d39e069876816aa7d0c9af081e0015da4 /pkgs/data | |
parent | 1b9dab307438ca6ef129470b0b979bd107a0a7d3 (diff) | |
download | nixpkgs-eab9b5f7a1d04ee6cc113ae845caa4e3650aecdc.tar nixpkgs-eab9b5f7a1d04ee6cc113ae845caa4e3650aecdc.tar.gz nixpkgs-eab9b5f7a1d04ee6cc113ae845caa4e3650aecdc.tar.bz2 nixpkgs-eab9b5f7a1d04ee6cc113ae845caa4e3650aecdc.tar.lz nixpkgs-eab9b5f7a1d04ee6cc113ae845caa4e3650aecdc.tar.xz nixpkgs-eab9b5f7a1d04ee6cc113ae845caa4e3650aecdc.tar.zst nixpkgs-eab9b5f7a1d04ee6cc113ae845caa4e3650aecdc.zip |
hubot-sans: init at v1.0
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/hubot-sans/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/data/fonts/hubot-sans/default.nix b/pkgs/data/fonts/hubot-sans/default.nix new file mode 100644 index 00000000000..2458911fda3 --- /dev/null +++ b/pkgs/data/fonts/hubot-sans/default.nix @@ -0,0 +1,37 @@ +{ lib +, stdenvNoCC +, fetchFromGitHub +}: + +stdenvNoCC.mkDerivation rec { + pname = "hubot-sans"; + version = "1.0"; + + src = fetchFromGitHub { + rev = "v" + version; + owner = "github"; + repo = pname; + sha256 = "GOql+V5TH4b3TmhlgnKcx3jzUAO2jm4HRJRNzdIKxgg="; + }; + + installPhase = '' + install -m644 --target $out/share/fonts/truetype/hubot-sans -D $src/dist/hubot-sans.ttf + ''; + + meta = { + description = "A variable font from GitHub"; + homepage = "https://github.com/github/hubot-sans"; + license = lib.licenses.ofl; + longDescription = '' + Hubot Sans is Mona Sans’s robotic sidekick. The typeface is designed with + more geometric accents to lend a technical and idiosyncratic feel—perfect + for headers and pull-quotes. Made together with Degarism. + + Hubot Sans is a variable font. Variable fonts enable different variations + of a typeface to be incorporated into one single file, and are supported + by all major browsers. + ''; + maintainers = with lib.maintainers; [ drupol ]; + platforms = lib.platforms.all; + }; +} |