summary refs log tree commit diff
path: root/pkgs/data/fonts/mononoki
diff options
context:
space:
mode:
authorChristian Lask <christian@hiberno.net>2016-06-10 11:33:25 +0200
committerChristian Lask <christian@hiberno.net>2016-06-10 12:19:17 +0200
commite0e9df7c8d81eaca4ef0113cef97016705bd8485 (patch)
tree4e46943b7b37b10f486cae3ebf0c6838fcec6385 /pkgs/data/fonts/mononoki
parent5f34b5476b8132b5eee7873f2cc4777843bc4f85 (diff)
downloadnixpkgs-e0e9df7c8d81eaca4ef0113cef97016705bd8485.tar
nixpkgs-e0e9df7c8d81eaca4ef0113cef97016705bd8485.tar.gz
nixpkgs-e0e9df7c8d81eaca4ef0113cef97016705bd8485.tar.bz2
nixpkgs-e0e9df7c8d81eaca4ef0113cef97016705bd8485.tar.lz
nixpkgs-e0e9df7c8d81eaca4ef0113cef97016705bd8485.tar.xz
nixpkgs-e0e9df7c8d81eaca4ef0113cef97016705bd8485.tar.zst
nixpkgs-e0e9df7c8d81eaca4ef0113cef97016705bd8485.zip
mononoki: init at 1.2
Diffstat (limited to 'pkgs/data/fonts/mononoki')
-rw-r--r--pkgs/data/fonts/mononoki/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/data/fonts/mononoki/default.nix b/pkgs/data/fonts/mononoki/default.nix
new file mode 100644
index 00000000000..fe429fe1df8
--- /dev/null
+++ b/pkgs/data/fonts/mononoki/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchurl, unzip }:
+
+stdenv.mkDerivation rec {
+  name = "mononoki-${version}";
+  version = "1.2";
+
+  src = fetchurl {
+    url = "https://github.com/madmalik/mononoki/releases/download/${version}/mononoki.zip";
+    sha256 = "0n66bnn2i776fbky14qjijwsbrja9yzc1xfsmvz99znvcdvflafg";
+  };
+
+  buildInputs = [ unzip ];
+  phases = [ "unpackPhase" ];
+
+  unpackPhase = ''
+    mkdir -p $out/share/fonts/mononoki
+    unzip $src -d $out/share/fonts/mononoki
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/madmalik/mononoki;
+    description = "A font for programming and code review";
+    license = licenses.ofl;
+    maintainers = [ maintainers.hiberno ];
+    platforms = platforms.all;
+  };
+}