88abffb7d2
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
23 lines
556 B
Nix
23 lines
556 B
Nix
{lib, 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 lib; {
|
|
description = "Library for text classification and representation learning";
|
|
homepage = "https://fasttext.cc/";
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
maintainers = [ ];
|
|
};
|
|
}
|