@@ -0,0 +1,22 @@
1+{ stdenv, fetchFromGitHub }:
2+
3+fetchFromGitHub rec {
4+ rev = "1.0";
5+ name = "et-book-${rev}";
6+ owner = "jethrokuan";
7+ repo = "et-book";
8+ sha256 = "1bfb1l8k7fzgk2l8cikiyfn5x9m0fiwrnsbc1483p8w3qp58s5n2";
9+
10+ postFetch = ''
11+ tar -xzf $downloadedFile
12+ mkdir -p $out/share/fonts/truetype
13+ cp -t $out/share/fonts/truetype ${name}/*.ttf
14+ '';
15+
16+ meta = with stdenv.lib; {
17+ description = "Font for ET Book";
18+ license = licenses.free;
19+ platforms = platforms.all;
20+ maintainers = with maintainers; [ jethro ];
21+ };
22+}