From 93e637e9f5bd90759085b954b3fc346f744f1687 Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Fri, 23 Feb 2024 16:46:52 -0500 Subject: [PATCH] Add Anarchist's Stencil font --- nixos.nix | 1 + packages/all-packages.nix | 1 + packages/anarchists-stencil.nix | 23 +++++++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 packages/anarchists-stencil.nix diff --git a/nixos.nix b/nixos.nix index 8171a97..d936e79 100644 --- a/nixos.nix +++ b/nixos.nix @@ -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 diff --git a/packages/all-packages.nix b/packages/all-packages.nix index ade5508..1ed1063 100644 --- a/packages/all-packages.nix +++ b/packages/all-packages.nix @@ -1,4 +1,5 @@ {pkgs, ...}: { dw = pkgs.callPackage ./dw.nix {}; justseeds = pkgs.callPackage ./justseeds.nix {}; + anarchists-stencil = pkgs.callPackage ./anarchists-stencil.nix {}; } \ No newline at end of file diff --git a/packages/anarchists-stencil.nix b/packages/anarchists-stencil.nix new file mode 100644 index 0000000..7197131 --- /dev/null +++ b/packages/anarchists-stencil.nix @@ -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 = []; + }; +} \ No newline at end of file