summary refs log tree commit diff
path: root/pkgs/applications/science/machine-learning
diff options
context:
space:
mode:
authorDaniël de Kok <me@danieldk.eu>2019-05-02 19:04:55 +0200
committerDaniël de Kok <me@danieldk.eu>2019-05-05 08:28:44 +0200
commitf029f8c5adbf6338672a8e71427e6790b304f48b (patch)
tree25b52e77e916cc36c6577347a710089a20a2d859 /pkgs/applications/science/machine-learning
parentda6ecbdbc851f057035563bbeed4bf43dead7b5a (diff)
downloadnixpkgs-f029f8c5adbf6338672a8e71427e6790b304f48b.tar
nixpkgs-f029f8c5adbf6338672a8e71427e6790b304f48b.tar.gz
nixpkgs-f029f8c5adbf6338672a8e71427e6790b304f48b.tar.bz2
nixpkgs-f029f8c5adbf6338672a8e71427e6790b304f48b.tar.lz
nixpkgs-f029f8c5adbf6338672a8e71427e6790b304f48b.tar.xz
nixpkgs-f029f8c5adbf6338672a8e71427e6790b304f48b.tar.zst
nixpkgs-f029f8c5adbf6338672a8e71427e6790b304f48b.zip
fasttext: init at 0.2.0
Diffstat (limited to 'pkgs/applications/science/machine-learning')
-rw-r--r--pkgs/applications/science/machine-learning/fasttext/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/science/machine-learning/fasttext/default.nix b/pkgs/applications/science/machine-learning/fasttext/default.nix
new file mode 100644
index 00000000000..0ae9a74d0d0
--- /dev/null
+++ b/pkgs/applications/science/machine-learning/fasttext/default.nix
@@ -0,0 +1,23 @@
+{stdenv, fetchFromGitHub, cmake}:
+
+stdenv.mkDerivation rec {
+  pname = "fasttext";
+  version = "0.2.0";
+
+  src = fetchFromGitHub {
+    owner = "facebookresearch";
+    repo = "fastText";
+    rev = version;
+    sha256 = "1fcrz648r2s80bf7vc0l371xillz5jk3ldaiv9jb7wnsyri831b4";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  meta = with stdenv.lib; {
+    description = "Library for text classification and representation learning";
+    homepage = https://fasttext.cc/;
+    license = licenses.mit;
+    platforms = platforms.unix;
+    maintainers = [ maintainers.danieldk ];
+  };
+}