[Nix-dev] anthy: new package

Nomen Nescio nobody at dizum.com
Sun Aug 17 16:04:11 CEST 2014


anthy: new package
---

diff --git a/pkgs/tools/inputmethods/anthy/default.nix b/pkgs/tools/inputmethods/anthy/default.nix
new file mode 100644
index 0000000..d020146
--- /dev/null
+++ b/pkgs/tools/inputmethods/anthy/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchurl
+}:
+
+let
+  version = "9100h";
+
+in
+
+stdenv.mkDerivation rec {
+  name = "anthy-${version}";
+
+  src = fetchurl {
+    url = "http://iij.dl.sourceforge.jp/anthy/37536/${name}.tar.gz";
+    sha256 = "d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547";
+  };
+
+  meta = {
+    description = "An input method for Japanese";
+    homepage = http://anthy.sourceforge.jp/;
+    license = stdenv.lib.licenses.lgpl21Plus;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 492711f..a7c9af1 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -505,6 +505,8 @@ let
     pkgs_i686 = pkgsi686Linux;
   };
 
+  anthy = callPackage ../tools/inputmethods/anthy { };
+
   apg = callPackage ../tools/security/apg { };
 
   grc = callPackage ../tools/misc/grc { };



More information about the nix-dev mailing list