diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/science/machine-learning/fasttext/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/applications/science/machine-learning/fasttext/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/science/machine-learning/fasttext/default.nix b/infra/libkookie/nixpkgs/pkgs/applications/science/machine-learning/fasttext/default.nix new file mode 100644 index 000000000000..64124594e1e2 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/applications/science/machine-learning/fasttext/default.nix @@ -0,0 +1,23 @@ +{stdenv, fetchFromGitHub, cmake}: + +stdenv.mkDerivation rec { + pname = "fasttext"; + version = "0.9.2"; + + src = fetchFromGitHub { + owner = "facebookresearch"; + repo = "fastText"; + rev = "v${version}"; + sha256 = "07cz2ghfq6amcljaxpdr5chbd64ph513y8zqmibfx2xwfp74xkhn"; + }; + + 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 ]; + }; +} |