summary refs log tree commit diff
path: root/pkgs/data/fonts/oxygenfonts
diff options
context:
space:
mode:
authorMichiel Leenaars <ml.software@leenaa.rs>2016-08-25 11:28:03 +0200
committerRobert Helgesson <robert@rycee.net>2016-08-28 21:12:29 +0200
commitd22bb26fb9c3b88e6d5254d9b7c3baaa4cf2d7bc (patch)
tree32204e3d7139a008a1bb81ce96da5d7cf8ef4849 /pkgs/data/fonts/oxygenfonts
parent9d25dc12d931838074e5027a6a7ddc68a7d29ecc (diff)
downloadnixpkgs-d22bb26fb9c3b88e6d5254d9b7c3baaa4cf2d7bc.tar
nixpkgs-d22bb26fb9c3b88e6d5254d9b7c3baaa4cf2d7bc.tar.gz
nixpkgs-d22bb26fb9c3b88e6d5254d9b7c3baaa4cf2d7bc.tar.bz2
nixpkgs-d22bb26fb9c3b88e6d5254d9b7c3baaa4cf2d7bc.tar.lz
nixpkgs-d22bb26fb9c3b88e6d5254d9b7c3baaa4cf2d7bc.tar.xz
nixpkgs-d22bb26fb9c3b88e6d5254d9b7c3baaa4cf2d7bc.tar.zst
nixpkgs-d22bb26fb9c3b88e6d5254d9b7c3baaa4cf2d7bc.zip
oxygenfonts: init at 20140213
Diffstat (limited to 'pkgs/data/fonts/oxygenfonts')
-rw-r--r--pkgs/data/fonts/oxygenfonts/default.nix57
1 files changed, 57 insertions, 0 deletions
diff --git a/pkgs/data/fonts/oxygenfonts/default.nix b/pkgs/data/fonts/oxygenfonts/default.nix
new file mode 100644
index 00000000000..868c33b39c4
--- /dev/null
+++ b/pkgs/data/fonts/oxygenfonts/default.nix
@@ -0,0 +1,57 @@
+{ stdenv, fetchFromGitHub }:
+
+let
+  pname = "oxygenfonts";
+  version = "20160825";
+in
+
+  stdenv.mkDerivation rec {
+    name = "${pname}-${version}";
+
+    src = fetchFromGitHub {
+      owner = "vernnobile";
+      repo = "oxygenFont";
+      rev = "62db0ebe3488c936406685485071a54e3d18473b";
+      sha256 = "134kx3d0g3zdkw8kl8p6j37fzw3bl163jv2dx4dk1451f3ramcnh";
+    };
+
+    phases = [ "unpackPhase" "installPhase" ];
+
+    installPhase = ''
+      mkdir -p $out/share/fonts/truetype/${pname}
+      cp OxygenSans-version-0.4/*/*.ttf $out/share/fonts/truetype/${pname}
+      cp Oxygen-Monospace/*.ttf $out/share/fonts/truetype/${pname}
+    '';
+
+    meta = with stdenv.lib; {
+      description = "Desktop/gui font for integrated use with the KDE desktop";
+      longDescription =
+      ''
+      Oxygen Font is a font family originally aimed as a desktop/gui
+      font for integrated use with the KDE desktop.
+
+      The basic concept for Oxygen Font was to design a clear,
+      legible, sans serif, that would be rendered with Freetype on
+      Linux-based devices. In addition a bold weight, plus regular and
+      bold italics, and a monospace version will be made.
+
+      Oxygen is constructed closely with the gridfitting aspects of
+      the Freetype font rendering engine. The oxygen fonts are also
+      autohinted with Werner Lemberg's "ttfautohint" library to
+      further the compatibility with the Freetype engine. The aim of
+      this approach is to produce a family of freetype-specific
+      desktop fonts whose appearance will stay uniform under different
+      screen render settings, unlike more traditionally designed
+      'screen fonts' that have tended to be designed for best
+      legibility on the Windows GDI render engine.
+
+      The main creator of Oxygen, Vernon Adams, suffered a heavy
+      traffic accident three months after its last release, causing him severe brain
+      injury. He finally passed away, sans oxygen, on August 25th 2016.
+      See: http://sansoxygen.com/
+      '';
+
+      license = licenses.ofl;
+      platforms = platforms.all;
+    };
+}