about summary refs log tree commit diff
path: root/pkgs/by-name/ap
diff options
context:
space:
mode:
authorSigmanificient <edhyjox@gmail.com>2024-06-05 09:50:00 +0200
committerSigmanificient <edhyjox@gmail.com>2024-06-09 07:37:31 +0200
commit1546808fa5b915be7d66bcadc213cc3c91adcff8 (patch)
tree26cf29aa6aee072ad72ebfdae1f93d068783d1d3 /pkgs/by-name/ap
parent624ea9d72f0aa499d1905d52b20659862373a433 (diff)
apl386: migrate to by-name
Diffstat (limited to 'pkgs/by-name/ap')
-rw-r--r--pkgs/by-name/ap/apl386/package.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/by-name/ap/apl386/package.nix b/pkgs/by-name/ap/apl386/package.nix
new file mode 100644
index 0000000000000..bfbb00dedeed6
--- /dev/null
+++ b/pkgs/by-name/ap/apl386/package.nix
@@ -0,0 +1,29 @@
+{ lib, stdenvNoCC, fetchFromGitHub }:
+
+stdenvNoCC.mkDerivation {
+  pname = "apl386";
+  version = "0-unstable-2024-01-10";
+
+  src = fetchFromGitHub {
+    owner = "abrudz";
+    repo = "APL386";
+    rev = "43ebc6349506b0e7ab5c49f6b08f8afe66c4d9c5";
+    hash = "sha256-MLHSYHFyI9eKdrE/yM7u4vu4Dz6riEk7XQTUuAXPfzM=";
+  };
+
+  installPhase = ''
+    runHook preInstall
+
+    install -Dm444 -t $out/share/fonts/truetype *.ttf
+
+    runHook postInstall
+  '';
+
+  meta = {
+    homepage = "https://abrudz.github.io/APL386/";
+    description = "APL385 Unicode font evolved";
+    license = lib.licenses.unlicense;
+    maintainers = with lib.maintainers; [ sigmanificient ];
+    platforms = lib.platforms.all;
+  };
+}