[Nix-dev] baekmuk-ttf: new package
Nomen Nescio
nobody at dizum.com
Wed Sep 3 11:05:20 CEST 2014
baekmuk-ttf: new package
---
diff --git a/pkgs/data/fonts/baekmuk-ttf/default.nix b/pkgs/data/fonts/baekmuk-ttf/default.nix
new file mode 100644
index 0000000..acd1647
--- /dev/null
+++ b/pkgs/data/fonts/baekmuk-ttf/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+ name = "baekmuk-ttf-2.2";
+
+ src = fetchurl {
+ url = "http://kldp.net/frs/download.php/1429/${name}.tar.gz";
+ sha256 = "08ab7dffb55d5887cc942ce370f5e33b756a55fbb4eaf0b90f244070e8d51882";
+ };
+
+ dontBuild = true;
+
+ installPhase = let
+ fonts_dir = "$out/share/fonts";
+ doc_dir = "$out/share/doc/${name}";
+ in ''
+ mkdir -pv ${fonts_dir}
+ mkdir -pv ${doc_dir}
+ cp ttf/*.ttf ${fonts_dir}
+ cp COPYRIGHT* ${doc_dir}
+ '';
+
+ meta = {
+ description = "Korean font";
+ homepage = "http://kldp.net/projects/baekmuk/";
+ license = "BSD-like";
+ };
+}
+
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 97ff684..dce934d 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -8058,6 +8058,8 @@ let
aurulent-sans = callPackage ../data/fonts/aurulent-sans { };
+ baekmuk-ttf = callPackage ../data/fonts/baekmuk-ttf { };
+
bakoma_ttf = callPackage ../data/fonts/bakoma-ttf { };
cacert = callPackage ../data/misc/cacert { };
More information about the nix-dev
mailing list