about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ha/hachimarupop/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/by-name/ha/hachimarupop/package.nix')
-rw-r--r--nixpkgs/pkgs/by-name/ha/hachimarupop/package.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/ha/hachimarupop/package.nix b/nixpkgs/pkgs/by-name/ha/hachimarupop/package.nix
new file mode 100644
index 000000000000..3ebf82409a1c
--- /dev/null
+++ b/nixpkgs/pkgs/by-name/ha/hachimarupop/package.nix
@@ -0,0 +1,30 @@
+{ lib
+, stdenvNoCC
+, fetchFromGitHub
+}:
+
+stdenvNoCC.mkDerivation {
+  pname = "hachimarupop";
+  version = "unstable-2022-07-11";
+
+  src = fetchFromGitHub {
+    owner = "noriokanisawa";
+    repo = "HachiMaruPop";
+    rev = "67d96c274032f5a2e1d33c1ec53498fde9110079";
+    hash = "sha256-b1moyTVy0hHGu9/LrQ9k6Isd/LYTSxiuqz3BzrYVbXY=";
+  };
+
+  installPhase = ''
+    runHook preInstall
+    install -Dm444 fonts/ttf/*.ttf -t $out/share/fonts/truetype/
+    runHook postInstall
+  '';
+
+  meta = {
+    homepage = "https://github.com/noriokanisawa/HachiMaruPop";
+    description = "A cute, Japanese font";
+    license = lib.licenses.ofl;
+    maintainers = with lib.maintainers; [ AndersonTorres ];
+    platforms = lib.platforms.all;
+  };
+}