aboutsummaryrefslogtreecommitdiffhomepage
path: root/pkgs/udev-gothic
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/udev-gothic')
-rw-r--r--pkgs/udev-gothic/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/udev-gothic/default.nix b/pkgs/udev-gothic/default.nix
new file mode 100644
index 0000000..9235a1c
--- /dev/null
+++ b/pkgs/udev-gothic/default.nix
@@ -0,0 +1,26 @@
+{
+ lib,
+ stdenv,
+ fetchzip,
+}:
+
+stdenv.mkDerivation rec {
+ pname = "udev-gothic";
+ version = "2.1.0";
+
+ src = fetchzip {
+ url = "https://github.com/yuru7/udev-gothic/releases/download/v${version}/UDEVGothic_v${version}.zip";
+ sha256 = "sha256-9gwBT0GVNPVWoiFIKBUf5sNGkhfJCWhMFRRIGvj5Wto=";
+ };
+
+ installPhase = ''
+ mkdir -p $out/share/fonts
+ cp $src/UDEVGothic35-*.ttf $out/share/fonts
+ '';
+
+ meta = with lib; {
+ description = "UDEV Gothic は、ユニバーサルデザインフォントのBIZ UDゴシックと、 開発者向けフォントの JetBrains Mono を合成した、プログラミング向けフォントです。";
+ homepage = "https://github.com/yuru7/udev-gothic";
+ license = licenses.ofl;
+ };
+}