Add Anarchist's Stencil font

This commit is contained in:
Emi Simpson 2024-02-23 16:46:52 -05:00
parent 25d157baa7
commit 93e637e9f5
Signed by: Emi
GPG key ID: A12F2C2FFDC3D847
3 changed files with 25 additions and 0 deletions

View file

@ -138,6 +138,7 @@ let systemInformation = import ./system/system-information.nix; in
fonts = {
packages = with pkgs; with import packages/all-packages.nix nixpkgs; [
justseeds
anarchists-stencil
manrope
google-fonts
comic-mono

View file

@ -1,4 +1,5 @@
{pkgs, ...}: {
dw = pkgs.callPackage ./dw.nix {};
justseeds = pkgs.callPackage ./justseeds.nix {};
anarchists-stencil = pkgs.callPackage ./anarchists-stencil.nix {};
}

View file

@ -0,0 +1,23 @@
{pkgs, stdenv, lib, ...}:
stdenv.mkDerivation {
pname = "anarchists-stencil";
version = "1.000";
src = pkgs.fetchurl {
url = "https://www.dimka.com/fonts/anarchists-stencil/anarchists-stencil.woff2";
hash = "sha256-gkXQcarvnoEzz/8JjKnZI2ck6gzg9U2N9bbZfODKD+o=";
};
dontUnpack = true;
installPhase = ''
install -D -m 444 $src -t $out/share/fonts
'';
meta = {
description = "Anarchists Stencil";
homepage = "https://www.myfonts.com/collections/anarchists-stencil-font-dimka-fonts";
license = lib.licenses.unfree;
maintainers = [];
};
}