nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenvNoCC, fetchurl }:
2
3stdenvNoCC.mkDerivation {
4 pname = "mro-unicode";
5 version = "unstable-2013-05-25";
6
7 src = fetchurl {
8 url = "https://github.com/phjamr/MroUnicode/raw/f297de070f7eba721a47c850e08efc119d3bfbe8/MroUnicode-Regular.ttf";
9 hash = "sha256-hcQmTuRWxaU5KEMXg/O0b1olE8YxXWz0PAlqAJknR/0=";
10 };
11
12 dontUnpack = true;
13
14 installPhase = ''
15 runHook preInstall
16
17 install -Dm644 $src $out/share/fonts/truetype/MroUnicode-Regular.ttf
18
19 runHook postInstall
20 '';
21
22 meta = with lib; {
23 homepage = "https://github.com/phjamr/MroUnicode";
24 description = "Unicode-compliant Mro font";
25 maintainers = with maintainers; [ mathnerd314 ];
26 license = licenses.ofl;
27 platforms = platforms.all;
28 };
29}