2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchFromGitHub, cmake}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fasttext";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "0.9.2-unstable-2023-11-28";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "facebookresearch";
|
|
|
|
repo = "fastText";
|
2024-01-13 08:15:51 +00:00
|
|
|
rev = "6c2204ba66776b700095ff73e3e599a908ffd9c3";
|
|
|
|
hash = "sha256-lSIah4T+QqZwCRpeI3mxJ7PZT6pSHBO26rcEFfK8DSk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Library for text classification and representation learning";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "fasttext";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://fasttext.cc/";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
2021-09-18 10:52:07 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|