summary refs log tree commit diff
path: root/pkgs/data
diff options
context:
space:
mode:
authorMichiel Leenaars <ml.software@leenaa.rs>2018-08-20 01:56:48 +0200
committerMichiel Leenaars <ml.software@leenaa.rs>2018-08-20 01:56:48 +0200
commitc1c432564d7f3583353d0d76129fdf389f86a18b (patch)
tree0859094c91d457ed33a139b61be348770dcf94b4 /pkgs/data
parent88eb81e19ba11f4c776916c5d9d5c9fa776e46b6 (diff)
downloadnixpkgs-c1c432564d7f3583353d0d76129fdf389f86a18b.tar
nixpkgs-c1c432564d7f3583353d0d76129fdf389f86a18b.tar.gz
nixpkgs-c1c432564d7f3583353d0d76129fdf389f86a18b.tar.bz2
nixpkgs-c1c432564d7f3583353d0d76129fdf389f86a18b.tar.lz
nixpkgs-c1c432564d7f3583353d0d76129fdf389f86a18b.tar.xz
nixpkgs-c1c432564d7f3583353d0d76129fdf389f86a18b.tar.zst
nixpkgs-c1c432564d7f3583353d0d76129fdf389f86a18b.zip
aileron-font: init at 0.102
Diffstat (limited to 'pkgs/data')
-rw-r--r--pkgs/data/fonts/aileron/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/data/fonts/aileron/default.nix b/pkgs/data/fonts/aileron/default.nix
new file mode 100644
index 00000000000..52a96f16db0
--- /dev/null
+++ b/pkgs/data/fonts/aileron/default.nix
@@ -0,0 +1,27 @@
+{ stdenv,  fetchzip }:
+
+let
+  majorVersion = "0";
+  minorVersion = "102";
+  pname = "aileron";
+in
+
+fetchzip rec {
+  name = "${pname}-font-${majorVersion}.${minorVersion}";
+
+  url = "http://dotcolon.net/DL/font/${pname}.zip";
+  sha256 = "04xnzdy9plzd2p02yq367h37m5ygx0w8cpkdv39cc3754ljlsxim";
+
+  postFetch = ''
+    mkdir -p $out/share/fonts/opentype/${pname}
+    unzip -j $downloadedFile \*.otf  -d $out/share/fonts/opentype/${pname}
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = "http://dotcolon.net/font/${pname}/";
+    description = "A helvetica font in nine weights";
+    platforms = platforms.all;
+    maintainers = with maintainers; [ leenaars ];
+    license = licenses.cc0;
+  };
+}