git.iko.soy/typeable/nixpkgs
on master help sign in
init et-book package
commit6852e6ed253c16e4a088297357ada8681f52e72a authorJethro Kuan <jethrokuan95@gmail.com> dateMon 10 Sep 2018, 17:29 (8 years ago) parente5b9048
3 files changed+29
maintainers/maintainer-list.nix+5 pkgs/data/fonts/et-book/default.nix+22 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+5
@@ -1847,6 +1847,11 @@
18471847 github = "jerith666";
18481848 name = "Matt McHenry";
18491849 };
1850+ jethro = {
1851+ email = "jethrokuan95@gmail.com";
1852+ github = "jethrokuan";
1853+ name = "Jethro Kuan";
1854+ };
18501855 jfb = {
18511856 email = "james@yamtime.com";
18521857 github = "tftio";
pkgs/data/fonts/et-book/default.nixnew file+22
@@ -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+}
pkgs/top-level/all-packages.nix+2
@@ -151,6 +151,8 @@ with pkgs;
151151
152152 ebook2cw = callPackage ../applications/misc/ebook2cw { };
153153
154+ etBook = callPackage ../data/fonts/et-book { };
155+
154156 fetchbower = callPackage ../build-support/fetchbower {
155157 inherit (nodePackages) bower2nix;
156158 };